diff src/stdlib/SDL_iconv.c @ 3984:b74530a1dad6 SDL-1.2

Better fix for bug 419
author Sam Lantinga <slouken@libsdl.org>
date Thu, 28 Jun 2007 05:35:50 +0000
parents f16c15f3bc2b
children 2f8efcf14c83
line wrap: on
line diff
--- a/src/stdlib/SDL_iconv.c	Wed Jun 27 10:12:49 2007 +0000
+++ b/src/stdlib/SDL_iconv.c	Thu Jun 28 05:35:50 2007 +0000
@@ -31,7 +31,7 @@
 #include <errno.h>
 
 size_t SDL_iconv(SDL_iconv_t cd,
-                 char **inbuf, size_t *inbytesleft,
+                 const char **inbuf, size_t *inbytesleft,
                  char **outbuf, size_t *outbytesleft)
 {
 	size_t retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft);