--- OLD/xc/lib/lbxutil/lbx_zlib/lbx_zlib.c Thu Jan 1 00:00:00 1970 +++ NEW/xc/lib/lbxutil/lbx_zlib/lbx_zlib.c Thu Jan 1 00:00:00 1970 @@ -67,6 +67,8 @@ void ZlibFree(); +extern unsigned long int Xalloc(); /* XXX should be prototyped */ + unsigned long stream_out_compressed; unsigned long stream_out_uncompressed; unsigned long stream_out_plain; @@ -304,7 +306,7 @@ int Hsize; int ret1, ret2; - if ((comp = (struct ZlibInfo *)Xalloc(sizeof(struct ZlibInfo))) == NULL) + if ((comp = Xalloc(sizeof(struct ZlibInfo))) == NULL) return NULL; ret1 = InitZlibBuffer(&comp->inbuf, INBUFFER_SIZE);