Branch: Tag:

2001-03-17

2001-03-17 21:09:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: bin/precompile.pike:1.41
Rev: src/builtin_functions.c:1.354
Rev: src/docode.c:1.110
Rev: src/modules/Image/colors.c:1.47
Rev: src/modules/Image/encodings/psd.c:1.28
Rev: src/modules/Image/encodings/xcf.c:1.36
Rev: src/modules/Parser/html.c:1.131
Rev: src/modules/system/memory.c:1.7
Rev: src/port.c:1.43
Rev: src/stralloc.c:1.117

1:   #include "global.h" - RCSID("$Id: xcf.c,v 1.35 2000/12/05 21:08:28 per Exp $"); + RCSID("$Id: xcf.c,v 1.36 2001/03/17 20:39:34 grubba Exp $");      #include "image_machine.h"   
77:      static void f_substring_index( INT32 args )   { -  int i = sp[-1].u.integer; +  ptrdiff_t i = sp[-1].u.integer;    struct substring *s = SS(fp->current_object);    pop_n_elems( args );   
112:    push_constant_text("SubString( %O /* [+%d .. %d] */ )" );    push_text("string"); f_substring_cast( 1 );    -  push_int( s->len ); -  push_int( s->offset ); +  push_int64( s->len ); +  push_int64( s->offset );    f_sprintf( 4 );    return;    default: