Skip to content
Snippets Groups Projects
Commit 31647561 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed a few warnings.

Rev: src/modules/Gz/zlibmod.c:1.20
parent c66a90d3
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
||| See the files COPYING and DISCLAIMER for more information. ||| See the files COPYING and DISCLAIMER for more information.
\*/ \*/
#include "global.h" #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" #include "zlib_machine.h"
...@@ -66,7 +66,7 @@ static void gz_deflate_create(INT32 args) ...@@ -66,7 +66,7 @@ static void gz_deflate_create(INT32 args)
THIS->gz.zalloc=Z_NULL; THIS->gz.zalloc=Z_NULL;
THIS->gz.zfree=Z_NULL; THIS->gz.zfree=Z_NULL;
THIS->gz.opaque=THIS; THIS->gz.opaque=(void *)THIS;
pop_n_elems(args); pop_n_elems(args);
/* mt_lock(& THIS->lock); */ /* mt_lock(& THIS->lock); */
...@@ -199,7 +199,7 @@ static void init_gz_deflate(struct object *o) ...@@ -199,7 +199,7 @@ static void init_gz_deflate(struct object *o)
MEMSET(& THIS->gz, 0, sizeof(THIS->gz)); MEMSET(& THIS->gz, 0, sizeof(THIS->gz));
THIS->gz.zalloc=Z_NULL; THIS->gz.zalloc=Z_NULL;
THIS->gz.zfree=Z_NULL; THIS->gz.zfree=Z_NULL;
THIS->gz.opaque=THIS; THIS->gz.opaque=(void *)THIS;
deflateInit(& THIS->gz, Z_DEFAULT_COMPRESSION); deflateInit(& THIS->gz, Z_DEFAULT_COMPRESSION);
} }
...@@ -226,7 +226,7 @@ static void gz_inflate_create(INT32 args) ...@@ -226,7 +226,7 @@ static void gz_inflate_create(INT32 args)
THIS->gz.zalloc=Z_NULL; THIS->gz.zalloc=Z_NULL;
THIS->gz.zfree=Z_NULL; THIS->gz.zfree=Z_NULL;
THIS->gz.opaque=THIS; THIS->gz.opaque=(void *)THIS;
pop_n_elems(args); pop_n_elems(args);
/* mt_lock(& THIS->lock); */ /* mt_lock(& THIS->lock); */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment