Branch: Tag:

2001-06-13

2001-06-13 13:17:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/modules/Gmp/mpz_glue.c:1.94
Rev: src/modules/Gz/zlibmod.c:1.40
Rev: src/modules/Image/encodings/_xpm.c:1.17
Rev: src/modules/Image/encodings/ilbm.c:1.22
Rev: src/modules/Image/encodings/pcx.c:1.16
Rev: src/modules/Image/encodings/png.c:1.42
Rev: src/modules/Image/encodings/psd.c:1.30
Rev: src/modules/Image/encodings/pvr.c:1.14
Rev: src/modules/Image/encodings/ras.c:1.14
Rev: src/modules/Image/encodings/tga.c:1.27
Rev: src/modules/Image/encodings/tim.c:1.12
Rev: src/modules/Image/encodings/xcf.c:1.38
Rev: src/modules/Image/image.c:1.188

5:   \*/   /**/   #include "global.h" - RCSID("$Id: zlibmod.c,v 1.39 2001/02/15 18:06:55 hubbe Exp $"); + RCSID("$Id: zlibmod.c,v 1.40 2001/06/13 12:48:03 grubba Exp $");      #include "zlib_machine.h"   
229:    }       this->gz.next_in=(Bytef *)data->str; -  this->gz.avail_in = DO_NOT_WARN(data->len); +  this->gz.avail_in = DO_NOT_WARN((unsigned INT32)(data->len));       initialize_buf(&buf);   
403:    data=sp[-args].u.string;       this->gz.next_in=(Bytef *)data->str; -  this->gz.avail_in = DO_NOT_WARN(data->len); +  this->gz.avail_in = DO_NOT_WARN((unsigned INT32)(data->len));       initialize_buf(&buf);   
472:       crc=crc32(crc,    (unsigned char*)sp[-args].u.string->str, -  DO_NOT_WARN(sp[-args].u.string->len)); +  DO_NOT_WARN((unsigned INT32)(sp[-args].u.string->len)));       pop_n_elems(args);    push_int((INT32)crc);