Branch: Tag:

2000-08-17

2000-08-17 19:10:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/backend.c:1.55
Rev: src/compilation.h:1.19
Rev: src/dynamic_load.c:1.43
Rev: src/encode.c:1.68
Rev: src/gc.c:1.124
Rev: src/interpret.c:1.165
Rev: src/interpret.h:1.64
Rev: src/module_support.c:1.37
Rev: src/modules/Parser/parser.c:1.10
Rev: src/modules/call_out/call_out.c:1.39
Rev: src/modules/spider/xml.c:1.26
Rev: src/modules/sprintf/sprintf.c:1.73
Rev: src/opcodes.c:1.90
Rev: src/operators.c:1.100
Rev: src/pike_types.c:1.136
Rev: src/program.c:1.263

30:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.123 2000/08/16 22:03:40 mast Exp $"); + RCSID("$Id: gc.c,v 1.124 2000/08/17 18:57:37 grubba Exp $");      /* Run garbage collect approximately every time    * 20 percent of all arrays, objects and programs is
2141: Inside #if defined(PIKE_DEBUG)
   if (gc_extra_refs)    fatal("Lost track of %d extra refs to things in gc.\n", gc_extra_refs);    if (gc_ext_weak_refs) -  fatal("Still got %u external weak references to internal things in gc.\n", -  gc_ext_weak_refs); +  fatal("Still got %lu external weak references to internal things in gc.\n", +  (unsigned long)PTRDIFF_T_TO_LONG(gc_ext_weak_refs));   #endif       Pike_in_gc=0;