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: gc.c,v 1.231 2003/09/09 15:00:58 mast Exp $ + || $Id: gc.c,v 1.232 2003/09/10 15:21:57 mast Exp $   */      #include "global.h"
33:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.231 2003/09/09 15:00:58 mast Exp $"); + RCSID("$Id: gc.c,v 1.232 2003/09/10 15:21:57 mast Exp $");      int gc_enabled = 1;   
1161:    break;       case T_FLOAT: -  fprintf(stderr," %f\n",s->u.float_number); +  fprintf(stderr," %"PRINTPIKEFLOAT"f\n",s->u.float_number);    break;       case T_FUNCTION: