[kaffe] CVS kaffe (dalibor): Fixed small compiler warning on powerpc-darwin

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Thu Oct 30 12:43:02 2003


PatchSet 4143 
Date: 2003/10/30 20:40:18
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed small compiler warning on powerpc-darwin

Members: 
	ChangeLog:1.1735->1.1736 
	kaffe/kaffevm/kaffe.def:1.29->1.30 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1735 kaffe/ChangeLog:1.1736
--- kaffe/ChangeLog:1.1735	Thu Oct 30 16:49:48 2003
+++ kaffe/ChangeLog	Thu Oct 30 20:40:18 2003
@@ -1,3 +1,11 @@
+2003-10-30  Helmer Kraemer  <hkraemer@freenet.de>
+            Dalibor Topic <robilad@kaffe.org>
+	
+	* kaffe/kaffevm/kaffe.def:
+	(define_insn(INVOKEVIRTUAL), define_insn(INVOKESTATIC),
+	define_insn(INVOKESPECIAL)) Added missing casts to 
+	(void (*) (void)) to fix warnings on powerpc-darwin.
+	
 2003-10-30  Guilhem Lavaux <guilhem@kaffe.org>
 
 	* libraries/clib/net/PlainDatagramSocketImpl.c:
Index: kaffe/kaffe/kaffevm/kaffe.def
diff -u kaffe/kaffe/kaffevm/kaffe.def:1.29 kaffe/kaffe/kaffevm/kaffe.def:1.30
--- kaffe/kaffe/kaffevm/kaffe.def:1.29	Sat Oct 11 20:45:49 2003
+++ kaffe/kaffe/kaffevm/kaffe.def	Thu Oct 30 20:40:20 2003
@@ -2694,7 +2694,7 @@
 
 		if( !is_virtual &&
 		    METHOD_TRANSLATED(method_method()) &&
-		    (METHOD_NATIVECODE(method_method()) == soft_null_call) )
+		    ( (void (*) (void)) (METHOD_NATIVECODE(method_method())) == soft_null_call) )
 		{
 			idx += 1;
 			pop(idx);
@@ -2812,7 +2812,7 @@
 		check_stack_ref(idx);
 
 		if( METHOD_TRANSLATED(method_method()) &&
-		    (METHOD_NATIVECODE(method_method()) == soft_null_call) )
+		    ( (void (*) (void)) (METHOD_NATIVECODE(method_method())) == soft_null_call) )
 		{
 			idx += 1;
 			pop(idx);
@@ -2884,7 +2884,7 @@
 		idx = method_nargs();
 
 		if( METHOD_TRANSLATED(method_method()) &&
-		    (METHOD_NATIVECODE(method_method()) == soft_null_call) )
+		    ( (void (*) (void)) (METHOD_NATIVECODE(method_method())) == soft_null_call) )
 		{
 			pop(idx);
 		}