From ce90e4a2a626ac4118987c664b672968949bb14f Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 19 Jan 2014 00:54:56 -0800 Subject: [PATCH] compare int and size_t warning when DEBUG is on --- src/gc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gc.c b/src/gc.c index 4099f42b..bab5505f 100644 --- a/src/gc.c +++ b/src/gc.c @@ -183,9 +183,8 @@ gc_alloc(pic_state *pic, size_t size) #if GC_DEBUG { - int i, j; unsigned char *c; - size_t s; + size_t s, i, j; if (p->s.size == nunits) { c = (unsigned char *)(p + p->s.size - nunits + 1); s = nunits - 1;