[Kazehakase-cvs] CVS update: kazehakase/src/net

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Mon May 22 08:48:55 JST 2006


Index: kazehakase/src/net/kz-io.c
diff -u kazehakase/src/net/kz-io.c:1.40 kazehakase/src/net/kz-io.c:1.41
--- kazehakase/src/net/kz-io.c:1.40	Mon Jul 11 08:09:33 2005
+++ kazehakase/src/net/kz-io.c	Mon May 22 08:48:54 2006
@@ -793,9 +793,9 @@
 	z.zalloc = Z_NULL;
 	z.zfree = Z_NULL;
 	z.opaque = Z_NULL;
-	z.next_in = string->str;
+	z.next_in = (unsigned char*)string->str;
 	z.avail_in = string->len;
-	z.next_out = outbuf;
+	z.next_out = (unsigned char*)outbuf;
 	z.avail_out = OUTBUFSIZ;
 
 	/* windowBits+32 means to enable zlib and gzip decoding
@@ -814,7 +814,7 @@
 		if (status == Z_STREAM_END || status == Z_OK)
 		{
 			g_string_append_len(outstring, outbuf, OUTBUFSIZ - z.avail_out);
-			z.next_out = outbuf;
+			z.next_out = (unsigned char*)outbuf;
 			z.avail_out = OUTBUFSIZ;
 		}
 		else


More information about the Kazehakase-cvs mailing list
Back to archive index