[kaffe] CVS kaffe (robilad): small warning fix in boehm-gc

Kaffe CVS cvs-commits at kaffe.org
Sun Nov 19 09:30:49 PST 2006


PatchSet 7447 
Date: 2006/11/19 17:29:21
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix in boehm-gc

2006-11-19  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/boehm-gc/gc-kaffe.c (maybe_finalize):
Changed type of last_finalized_no to GC_word to fix
compiler warning.

Members: 
	ChangeLog:1.4947->1.4948 
	kaffe/kaffevm/boehm-gc/gc-kaffe.c:1.3->1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4947 kaffe/ChangeLog:1.4948
--- kaffe/ChangeLog:1.4947	Sun Nov 19 16:48:20 2006
+++ kaffe/ChangeLog	Sun Nov 19 17:29:21 2006
@@ -1,5 +1,11 @@
 2006-11-19  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/boehm-gc/gc-kaffe.c (maybe_finalize): 
+	Changed type of last_finalized_no to GC_word to fix
+	compiler warning.
+	
+2006-11-19  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/boehm-gc/gc-kaffe.c: Changed type
 	of GC_kaffe_freelist to void ** to fix compiler warning.
 	(GC_kaffe_malloc) Changed types of op and opp to void* and
Index: kaffe/kaffe/kaffevm/boehm-gc/gc-kaffe.c
diff -u kaffe/kaffe/kaffevm/boehm-gc/gc-kaffe.c:1.3 kaffe/kaffe/kaffevm/boehm-gc/gc-kaffe.c:1.4
--- kaffe/kaffe/kaffevm/boehm-gc/gc-kaffe.c:1.3	Sun Nov 19 16:48:21 2006
+++ kaffe/kaffe/kaffevm/boehm-gc/gc-kaffe.c	Sun Nov 19 17:29:22 2006
@@ -39,7 +39,7 @@
 /* FIXME - Consider doing the same elsewhere?				*/
 static void maybe_finalize()
 {
-   static int last_finalized_no = 0;
+   static GC_word last_finalized_no = 0;
 
    if (GC_gc_no == last_finalized_no) return;
    if (!GC_is_initialized) return;




More information about the kaffe mailing list