Update of /cvsroot/gaim/gaim/src/protocols/gg
In directory usw-pr-cvs1:/tmp/cvs-serv22007/src/protocols/gg
Modified Files:
iconv_string.c
Log Message:
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.
Index: iconv_string.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/gg/iconv_string.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- iconv_string.c 18 Oct 2001 20:56:59 -0000 1.1
+++ iconv_string.c 29 May 2002 01:23:38 -0000 1.2
@@ -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;
|