pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c: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"      #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "module_support.h"   #include "interpret.h"   #include "object.h"   #include "svalue.h"
pike.git/src/modules/Image/encodings/xcf.c:1157:    push_int( ewidth );    push_int( eheight );    image_xcf_f__rle_decode( 4 );    tile = (struct pike_string *)debug_malloc_pass(sp[-1].u.string);    if(sp[-1].type != T_STRING)    fatal("Internal disaster in XCF module\n");    sp--;    }       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;       check_signals(0,0,0); /* Allow ^C */       for(cy=0; cy<eheight; cy++)    {    for(cx=0; cx<ewidth; cx++)    {    rgb_group pix;