summaryrefslogtreecommitdiff
path: root/src/input/input_pnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/input_pnm.c')
-rw-r--r--src/input/input_pnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_pnm.c b/src/input/input_pnm.c
index ffe6e66b4..cbf23c076 100644
--- a/src/input/input_pnm.c
+++ b/src/input/input_pnm.c
@@ -101,7 +101,7 @@ static buf_element_t *pnm_plugin_read_block (input_plugin_t *this_gen,
buf->content = buf->mem;
buf->type = BUF_DEMUX_BLOCK;
- total_bytes = pnm_plugin_read (this_gen, buf->content, todo);
+ total_bytes = pnm_plugin_read (this_gen, (char*)buf->content, todo);
if (total_bytes != todo) {
buf->free_buffer (buf);