Branch: Tag:

1998-04-29

1998-04-29 23:17:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/modules/Gz/zlibmod.c:1.20

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: zlibmod.c,v 1.19 1998/03/24 22:16:09 grubba Exp $"); + RCSID("$Id: zlibmod.c,v 1.20 1998/04/29 23:17:24 grubba Exp $");      #include "zlib_machine.h"   
66:       THIS->gz.zalloc=Z_NULL;    THIS->gz.zfree=Z_NULL; -  THIS->gz.opaque=THIS; +  THIS->gz.opaque=(void *)THIS;       pop_n_elems(args);   /* mt_lock(& THIS->lock); */
199:    MEMSET(& THIS->gz, 0, sizeof(THIS->gz));    THIS->gz.zalloc=Z_NULL;    THIS->gz.zfree=Z_NULL; -  THIS->gz.opaque=THIS; +  THIS->gz.opaque=(void *)THIS;    deflateInit(& THIS->gz, Z_DEFAULT_COMPRESSION);   }   
226:       THIS->gz.zalloc=Z_NULL;    THIS->gz.zfree=Z_NULL; -  THIS->gz.opaque=THIS; +  THIS->gz.opaque=(void *)THIS;       pop_n_elems(args);   /* mt_lock(& THIS->lock); */