diff gopher.c @ 6068:7fdda2416684 libavformat

Declare the url_write buffer parameter as const
author mstorsjo
date Tue, 01 Jun 2010 07:46:23 +0000
parents d605f589f0be
children 4fc5e0e4e1cd
line wrap: on
line diff
--- a/gopher.c	Mon May 31 10:47:36 2010 +0000
+++ b/gopher.c	Tue Jun 01 07:46:23 2010 +0000
@@ -31,7 +31,7 @@
     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);