Branch: Tag:

2001-09-24

2001-09-24 11:48:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/modules/Gmp/mpf.cmod:1.2
Rev: src/modules/Gmp/mpq.cmod:1.3
Rev: src/modules/Gmp/mpz_glue.c:1.98
Rev: src/modules/Image/colors.c:1.57
Rev: src/modules/Image/colortable.c:1.106
Rev: src/modules/Image/colortable_lookup.h:1.17
Rev: src/modules/Image/dct.c:1.19
Rev: src/modules/Image/image.c:1.192
Rev: src/modules/Image/image.h:1.48
Rev: src/modules/Image/image_module.c:1.12
Rev: src/modules/Image/layers.c:1.74
Rev: src/modules/Image/poly.c:1.13
Rev: src/modules/Java/jvm.c:1.36
Rev: src/modules/Math/matrix_code.h:1.3

3:   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/ + /**/   #include "global.h" - RCSID("$Id: mpz_glue.c,v 1.97 2001/09/20 19:37:32 hubbe Exp $"); + RCSID("$Id: mpz_glue.c,v 1.98 2001/09/24 11:04:51 grubba Exp $");   #include "gmp_machine.h"      #if defined(HAVE_GMP2_GMP_H) && defined(HAVE_LIBGMP2)
831:    ret = ret OP double_from_sval(sp-args); \    \    pop_n_elems(args); \ -  push_float( ret ); \ +  push_float( (FLOAT_TYPE)ret ); \    return; \    STRINGCONV( \    case T_STRING: \
880:    ret = ret OP double_from_sval(sp-args); \    \    pop_n_elems(args); \ -  push_float( ret ); \ +  push_float( (FLOAT_TYPE)ret ); \    return; \    case T_STRING: \    push_string(low_get_mpz_digits(THIS, 10)); \
923:    ret = ret OP double_from_sval(sp-args); \    \    pop_n_elems(args); \ -  push_float( ret ); \ +  push_float( (FLOAT_TYPE)ret ); \    return; \    case T_STRING: \    MEMMOVE(sp-args+1, sp-args, sizeof(struct svalue)*args); \
1525:   #define MPZ_DEFS() \    ADD_STORAGE(MP_INT); \    \ -  /* function(void|string|int|float|object:void)" \ -  "|function(string,int:void) */ \ +  /* function(void|string|int|float|object:void)" */ \ +  /* "|function(string,int:void) */ \    ADD_FUNCTION("create", mpzmod_create, \    tOr(tFunc(tOr5(tVoid,tStr,tInt,tFlt, \    tObj),tVoid), \