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.17 2000/08/08 10:57:17 grubba Exp $"); + RCSID("$Id: xcf.c,v 1.18 2000/08/08 11:08:50 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:161:      static int xcf_read_int( struct buffer *from )   {    return (int)read_uint( from );   }      static char *read_data( struct buffer * from, size_t len )   {    char *res;    if( from->len < len ) -  error("Not enough space for %uld bytes\n", len); +  error("Not enough space for %lu bytes\n", len);    res = (char *)from->str;    from->str += len;    from->len -= len;    return res;   }      static struct buffer read_string( struct buffer *data )   {    struct buffer res;    res.len = xcf_read_int( data );