Branch: Tag:

2000-08-16

2000-08-16 20:12:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/modules/Image/colortable.c:1.94
Rev: src/modules/Image/encodings/avs.c:1.11
Rev: src/modules/Image/encodings/bmp.c:1.27
Rev: src/modules/Image/encodings/gif.c:1.59
Rev: src/modules/Image/encodings/tga.c:1.23
Rev: src/modules/Image/encodings/x.c:1.33
Rev: src/modules/Image/encodings/xcf.c:1.21
Rev: src/modules/Image/image.c:1.176
Rev: src/modules/Image/image_module.c:1.8
Rev: src/modules/Math/math_matrix.c:1.17
Rev: src/modules/Parser/html.c:1.113
Rev: src/modules/Parser/parser.c:1.9
Rev: src/modules/_Crypto/cbc.c:1.17
Rev: src/modules/_Crypto/crypto.c:1.38
Rev: src/modules/files/file.c:1.188

1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.20 2000/08/12 23:06:54 grubba Exp $"); + RCSID("$Id: xcf.c,v 1.21 2000/08/16 19:54:51 grubba Exp $");      #include "image_machine.h"   
1164:    }       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); +  error("Too small tile, was %ld bytes, I really need %d\n", +  DO_NOT_WARN((long)tile->len), +  eheight*ewidth * bpp);       s = (unsigned char *)tile->str;