Branch: Tag:

2003-09-10

2003-09-10 15:21:59 by Martin Stjernholm <mast@lysator.liu.se>

Fixed various warnings and potential bugs with types of different sizes.

Rev: src/encode.c:1.197
Rev: src/gc.c:1.232
Rev: src/modules/DVB/dvb.c:1.21
Rev: src/modules/Gz/zlibmod.c:1.65
Rev: src/modules/Image/colors.c:1.66
Rev: src/modules/Image/font.c:1.81
Rev: src/modules/Mysql/dummy.c:1.13
Rev: src/modules/Parser/html.c:1.167
Rev: src/modules/Postgres/postgres.c:1.32
Rev: src/modules/_Image_GIF/image_gif.c:1.16
Rev: src/modules/_Image_JPEG/image_jpeg.c:1.63
Rev: src/modules/system/system.c:1.155
Rev: src/post_modules/GTK/pgtk.h:1.31
Rev: src/post_modules/GTK/source/global.pre:1.31
Rev: src/post_modules/GTK/source/gnomeiconselection.pre:1.3
Rev: src/post_modules/GTK/source/gtkclist.pre:1.15
Rev: src/post_modules/GTK/source/support.c:1.37
Rev: src/post_modules/SDL/SDL.cmod:1.20
Rev: src/post_modules/Shuffler/e_source_block_pikestream.c:1.3
Rev: src/program.c:1.525

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: encode.c,v 1.196 2003/08/05 14:32:15 grubba Exp $ + || $Id: encode.c,v 1.197 2003/09/10 15:21:57 mast Exp $   */      #include "global.h"
29:   #include "bignum.h"   #include "pikecode.h"    - RCSID("$Id: encode.c,v 1.196 2003/08/05 14:32:15 grubba Exp $"); + RCSID("$Id: encode.c,v 1.197 2003/09/10 15:21:57 mast Exp $");      /* #define ENCODE_DEBUG */   
3274:    delayed_enc_val->u.program->flags != PROGRAM_VIRGIN) {    decode_error (NULL, delayed_enc_val,    "Didn't get program embryo " -  "for delay encoded program <%d>: ", entry_id.u.integer); +  "for delay encoded program <%"PRINTPIKEINT"d>: ", +  entry_id.u.integer);    }    /* No new ref here; low_start_new_program will add one for    * Pike_compiler->new_program and we want ride on that one