Branch: Tag:

2000-08-12

2000-08-12 23:06:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/gc.c:1.120
Rev: src/modules/Image/colortable.c:1.92
Rev: src/modules/Image/encodings/xcf.c:1.20
Rev: src/modules/Image/encodings/xwd.c:1.18
Rev: src/modules/Image/image.c:1.174
Rev: src/modules/Image/layers.c:1.54
Rev: src/modules/Image/poly.c:1.6
Rev: src/modules/_Image_JPEG/image_jpeg.c:1.33
Rev: src/modules/_Image_TIFF/image_tiff.c:1.16
Rev: src/modules/_Image_TTF/image_ttf.c:1.33

1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.19 2000/08/10 09:51:54 per Exp $"); + RCSID("$Id: xcf.c,v 1.20 2000/08/12 23:06:54 grubba Exp $");      #include "image_machine.h"   
168:   {    char *res;    if( from->len < len ) -  error("Not enough space for %lu bytes\n", len); +  error("Not enough space for %lu bytes\n", +  DO_NOT_WARN((unsigned long)len));    res = (char *)from->str;    from->str += len;    from->len -= len;