[kaffe] CVS kaffe (robilad): Fixed compiler warning in gcFunc.c

Kaffe CVS cvs-commits at kaffe.org
Sat Aug 20 17:23:38 PDT 2005


PatchSet 6858 
Date: 2005/08/21 00:18:47
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed compiler warning in gcFunc.c

2005-08-21  Dalibor Topic  <topic at clerks.kaffe.org>

* kaffe/kaffevm/gcFuncs.c (destroyClass):
Made idx unsigned to fix compiler warnings.

Members: 
	ChangeLog:1.4380->1.4381 
	kaffe/kaffevm/gcFuncs.c:1.79->1.80 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4380 kaffe/ChangeLog:1.4381
--- kaffe/ChangeLog:1.4380	Sat Aug 20 23:44:49 2005
+++ kaffe/ChangeLog	Sun Aug 21 00:18:47 2005
@@ -1,3 +1,8 @@
+2005-08-21  Dalibor Topic  <topic at clerks.kaffe.org>
+
+	* kaffe/kaffevm/gcFuncs.c (destroyClass): 
+	Made idx unsigned to fix compiler warnings.
+
 2005-08-21  Dalibor Topic  <robilad at kaffe.org>
 
 	* kaffe/kaffevm/classMethod.h: (Hjava_lang_Class):
Index: kaffe/kaffe/kaffevm/gcFuncs.c
diff -u kaffe/kaffe/kaffevm/gcFuncs.c:1.79 kaffe/kaffe/kaffevm/gcFuncs.c:1.80
--- kaffe/kaffe/kaffevm/gcFuncs.c:1.79	Tue Jul 19 16:27:35 2005
+++ kaffe/kaffe/kaffevm/gcFuncs.c	Sun Aug 21 00:18:50 2005
@@ -62,7 +62,7 @@
 destroyClass(Collector *collector, void* c)
 {
         int i;
-	int idx;
+	unsigned int idx;
 	Hjava_lang_Class* clazz = c;
 	constants* pool;
 




More information about the kaffe mailing list