diff options
Diffstat (limited to 'libavformat/gopher.c')
-rw-r--r-- | libavformat/gopher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gopher.c b/libavformat/gopher.c index f5bb4a3718..13f3a5f9e1 100644 --- a/libavformat/gopher.c +++ b/libavformat/gopher.c @@ -31,7 +31,7 @@ typedef struct { URLContext *hd; } GopherContext; -static int gopher_write(URLContext *h, uint8_t *buf, int size) +static int gopher_write(URLContext *h, const uint8_t *buf, int size) { GopherContext *s = h->priv_data; return url_write(s->hd, buf, size); |