Branch: Tag:

2000-08-03

2000-08-03 21:25:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed some more 64 bit warnings.

Rev: src/modules/Image/encodings/_xpm.c:1.13
Rev: src/modules/Image/encodings/avs.c:1.10
Rev: src/modules/Image/encodings/bmp.c:1.23
Rev: src/modules/Image/encodings/gif.c:1.53
Rev: src/modules/Image/encodings/gif_lzw.c:1.8
Rev: src/modules/Image/encodings/gif_lzw.h:1.8
Rev: src/modules/Image/encodings/iff.c:1.6
Rev: src/modules/Image/encodings/ilbm.c:1.16
Rev: src/modules/Image/encodings/pcx.c:1.11
Rev: src/modules/Image/encodings/png.c:1.34
Rev: src/modules/Image/encodings/psd.c:1.18
Rev: src/modules/Image/encodings/pvr.c:1.10
Rev: src/modules/Image/encodings/ras.c:1.8
Rev: src/modules/Image/encodings/tga.c:1.17
Rev: src/modules/Image/encodings/tim.c:1.8
Rev: src/modules/Image/encodings/wbf.c:1.6
Rev: src/modules/Image/encodings/x.c:1.28
Rev: src/modules/Image/encodings/xbm.c:1.11
Rev: src/modules/Image/encodings/xcf.c:1.16

1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.15 2000/07/28 07:13:06 hubbe Exp $"); + RCSID("$Id: xcf.c,v 1.16 2000/08/03 21:25:32 grubba Exp $");      #include "image_machine.h"   
48:      struct buffer   { -  unsigned int len; +  size_t len;    unsigned char *str;   };   
1162:    sp--;    }    -  if( (unsigned)(tile->len) < (unsigned)(eheight * ewidth * bpp )) +  if( (size_t)(tile->len) < (size_t)(eheight * ewidth * bpp ))    error("Too small tile, was %d bytes, I really need %d\n",    tile->len, eheight*ewidth * bpp);