Branch: Tag:

2000-08-16

2000-08-16 10:50:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/builtin_functions.c:1.298
Rev: src/docode.c:1.79
Rev: src/encode.c:1.67
Rev: src/gc.c:1.122
Rev: src/las.c:1.191
Rev: src/module_support.c:1.36
Rev: src/peep.c:1.35
Rev: src/pike_memory.h:1.22
Rev: src/pike_types.c:1.135
Rev: src/pike_types.h:1.44
Rev: src/program.c:1.262

15:   #include "bignum.h"   #include "opcodes.h"    - RCSID("$Id: peep.c,v 1.34 2000/08/14 17:18:06 grubba Exp $"); + RCSID("$Id: peep.c,v 1.35 2000/08/16 10:17:52 grubba Exp $");      struct p_instr_s   {
311: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if((a_flag > 2 && store_linenumbers) || a_flag > 3)    { -  fprintf(stderr,"===%3d %4x ",c->line,PC); +  fprintf(stderr, "===%3d %4lx ", c->line, +  DO_NOT_WARN((unsigned long)PC));    dump_instr(c);    fprintf(stderr,"\n");    }
346: Inside #if defined(PIKE_DEBUG)
   if(labels[c->arg] != -1)    fatal("Duplicate label!\n");   #endif -  labels[c->arg]=PC; +  labels[c->arg] = DO_NOT_WARN((INT32)PC);    break;       default:
359: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if(c->arg > max_label || c->arg < 0) fatal("Jump to unknown label?\n");   #endif -  tmp=PC; +  tmp = DO_NOT_WARN((INT32)PC);    ins_int(jumps[c->arg], (void(*)(char))add_to_program);    jumps[c->arg]=tmp;    break;