[kaffe] CVS kaffe (robilad): small warning fix

Kaffe CVS cvs-commits at kaffe.org
Wed May 24 06:56:11 PDT 2006


PatchSet 7297 
Date: 2006/05/24 13:40:28
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix

2006-05-24  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/kaffe-gc/gc-mem.c (gc_block_alloc):
        Use %zu format for printing size_t value to fix
        compiler warning on powerpc-darwin.

Members: 
	ChangeLog:1.4801->1.4802 
	kaffe/kaffevm/kaffe-gc/gc-mem.c:1.35->1.36 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4801 kaffe/ChangeLog:1.4802
--- kaffe/ChangeLog:1.4801	Wed May 24 11:43:11 2006
+++ kaffe/ChangeLog	Wed May 24 13:40:28 2006
@@ -1,5 +1,11 @@
 2006-05-24  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/kaffe-gc/gc-mem.c (gc_block_alloc):
+	Use %zu format for printing size_t value to fix
+	compiler warning on powerpc-darwin.
+ 
+2006-05-24  Dalibor Topic  <robilad at kaffe.org>
+
 	Small warning fix for powerpc-darwin.
 
 	* include/jsyscall.h (_sendto) Modified prototype to match
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.35 kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.36
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.35	Sun Dec 18 17:54:32 2005
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c	Wed May 24 13:40:31 2006
@@ -1156,7 +1156,7 @@
 			  gc_pgbits;
 		gc_num_blocks = MAX(gc_num_blocks, min_nb);
 		DBG(GCSYSALLOC,
-		    dprintf("growing block array from %d to %d elements\n",
+		    dprintf("growing block array from %d to %zu elements\n",
 			    onb, gc_num_blocks));
 
 		KTHREAD(spinon)(NULL);




More information about the kaffe mailing list