Branch: Tag:

2000-08-13

2000-08-13 15:16:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/gc.c:1.121
Rev: src/signal_handler.c:1.176
Rev: src/threads.c:1.137

30:      #include "block_alloc.h"    - RCSID("$Id: gc.c,v 1.120 2000/08/12 23:06:53 grubba Exp $"); + RCSID("$Id: gc.c,v 1.121 2000/08/13 15:12:55 grubba Exp $");      /* Run garbage collect approximately every time    * 20 percent of all arrays, objects and programs is
1827:    obj_arr = append_array(obj_arr, --sp);    }    p = NEXT(p); -  if (p ? CYCLE(p) != cycle : cycle) { +  if (p ? ((unsigned)(CYCLE(p) != cycle)) : cycle) {    if (obj_arr->size >= 2) {    push_constant_text("gc");    push_constant_text("bad_cycle");