[kaffe] CVS kaffe (robilad): Small warning fix for gcFuncs.c

Kaffe CVS cvs-commits at kaffe.org
Sat Aug 20 16:49:54 PDT 2005


PatchSet 6857 
Date: 2005/08/20 23:44:49
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Small warning fix for gcFuncs.c

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

* kaffe/kaffevm/classMethod.h: (Hjava_lang_Class):
Made msize unsigned to fix compiler warning.

Members: 
	ChangeLog:1.4379->1.4380 
	kaffe/kaffevm/classMethod.h:1.84->1.85 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4379 kaffe/ChangeLog:1.4380
--- kaffe/ChangeLog:1.4379	Sat Aug 20 22:59:41 2005
+++ kaffe/ChangeLog	Sat Aug 20 23:44:49 2005
@@ -1,5 +1,10 @@
 2005-08-21  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/classMethod.h: (Hjava_lang_Class):
+	Made msize unsigned to fix compiler warning.
+
+2005-08-21  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/kaffe-gc/gc-mem.c (gc_block_alloc): 
 	Made min_nb unsigned to fix compiler warning.
 	
Index: kaffe/kaffe/kaffevm/classMethod.h
diff -u kaffe/kaffe/kaffevm/classMethod.h:1.84 kaffe/kaffe/kaffevm/classMethod.h:1.85
--- kaffe/kaffe/kaffevm/classMethod.h:1.84	Wed Aug 10 21:17:48 2005
+++ kaffe/kaffe/kaffevm/classMethod.h	Sat Aug 20 23:44:53 2005
@@ -118,7 +118,7 @@
 
 	/* Number of methods in the dtable. */
 	/* If CLASS_IS_PRIMITIVE, then the CLASS_PRIM_SIG. */
-	short			msize;
+	unsigned short			msize;
 
 	/* Pointer to array of Fields, on for each field.
 	   Static fields come first. */




More information about the kaffe mailing list