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:   /*   **! module Image   **! note - **! $Id: colors.c,v 1.46 2001/03/04 19:27:19 mirar Exp $ + **! $Id: colors.c,v 1.47 2001/03/17 20:42:46 grubba Exp $   **! submodule Color   **!   **! This module keeps names and easy handling
179:      #include "global.h"    - RCSID("$Id: colors.c,v 1.46 2001/03/04 19:27:19 mirar Exp $"); + RCSID("$Id: colors.c,v 1.47 2001/03/17 20:42:46 grubba Exp $");      #include "image_machine.h"   
1374:    f = sp[-1].u.array->item[0].u.float_number;    pop_stack();    pop_stack(); -  push_int( (int)(255*f/100) ); +  push_int( DO_NOT_WARN((int)(255*f/100)) );    /* grey100 is white, grey0 is black */    stack_dup();    stack_dup();