ossp-pkg/sio/sio_zlib.c 1.3 -> 1.4
--- sio_zlib.c 2002/11/29 13:00:19 1.3
+++ sio_zlib.c 2002/12/18 14:58:29 1.4
@@ -232,11 +232,11 @@
n = al_chunk_len(alcp);
if (al_same_label(alcp, my->data_label)) {
- zs->next_in = p;
+ zs->next_in = (unsigned char *)p;
zs->avail_in = n;
flush = 0;
} else {
- zs->next_in = "";
+ zs->next_in = (unsigned char *)"";
zs->avail_in = 0;
flush = Z_FINISH;
}
@@ -249,7 +249,7 @@
break;
}
- zs->next_out = dt->obuf;
+ zs->next_out = (unsigned char *)dt->obuf;
zs->avail_out = dt->olen;
zs->total_out = 0;
}
|
|