diff options
Diffstat (limited to 'stream/stream_cb.c')
-rw-r--r-- | stream/stream_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_cb.c b/stream/stream_cb.c index fa52935a4b..5a946a6369 100644 --- a/stream/stream_cb.c +++ b/stream/stream_cb.c @@ -24,7 +24,7 @@ struct priv { struct mp_cancel *cancel; }; -static int fill_buffer(stream_t *s, char *buffer, int max_len) +static int fill_buffer(stream_t *s, void *buffer, int max_len) { struct priv *p = s->priv; return (int)p->info.read_fn(p->info.cookie, buffer, (size_t)max_len); |