Mercurial > pidgin
diff src/protocols/gg/iconv_string.c @ 3279:86fdd015f40e
[gaim-migrate @ 3297]
Fewer compile warnings! Thanks, Ari Pollak (I even spelled your name correctly)
Also, I think one of these warnings may have fixed a sporadic Hotmail auth failure;
let me know if you still get those.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 29 May 2002 01:23:38 +0000 |
parents | 8229710b343b |
children |
line wrap: on
line diff
--- a/src/protocols/gg/iconv_string.c Wed May 29 00:24:41 2002 +0000 +++ b/src/protocols/gg/iconv_string.c Wed May 29 01:23:38 2002 +0000 @@ -74,7 +74,7 @@ { size_t count = 0; char tmpbuf[tmpbufsize]; - const char* inptr = start; + char* inptr = (char *)start; size_t insize = end-start; while (insize > 0) { char* outptr = tmpbuf; @@ -126,7 +126,7 @@ iconv(cd,NULL,NULL,NULL,NULL); /* return to the initial state */ /* Do the conversion for real. */ { - const char* inptr = start; + char* inptr = (char *)start; size_t insize = end-start; char* outptr = result; size_t outsize = length;