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

Kaffe CVS cvs-commits at kaffe.org
Fri Apr 14 12:10:55 PDT 2006


PatchSet 7221 
Date: 2006/04/14 19:02:05
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small compiler warning fix

2006-04-14  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/exception.c (dispatchException):
Added missing cast for fix compiler warning.

Members: 
	ChangeLog:1.4727->1.4728 
	kaffe/kaffevm/exception.c:1.105->1.106 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4727 kaffe/ChangeLog:1.4728
--- kaffe/ChangeLog:1.4727	Fri Apr 14 18:01:01 2006
+++ kaffe/ChangeLog	Fri Apr 14 19:02:05 2006
@@ -1,5 +1,10 @@
 2006-04-14  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/exception.c (dispatchException): 
+	Added missing cast for fix compiler warning.
+
+2006-04-14  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/ksem.h,
 	kaffe/kaffevm/ksem.c (ksem_put, ksem_get),
 	kaffe/kaffevm/locks.c (getHeavyLock, putHeavyLock, slowLockMutex,
Index: kaffe/kaffe/kaffevm/exception.c
diff -u kaffe/kaffe/kaffevm/exception.c:1.105 kaffe/kaffe/kaffevm/exception.c:1.106
--- kaffe/kaffe/kaffevm/exception.c:1.105	Wed Mar 15 21:20:28 2006
+++ kaffe/kaffe/kaffevm/exception.c	Fri Apr 14 19:02:07 2006
@@ -408,7 +408,7 @@
 	     lastJniFrame = lastJniFrame->prev);
 
 	DBG(ELOOKUP,
-		dprintf ("dispatchException(): lastJniFrame is %p, fp %p\n", lastJniFrame, (lastJniFrame?lastJniFrame->frame.jni.fp:0)); );
+		dprintf ("dispatchException(): lastJniFrame is %p, fp %p\n", lastJniFrame, (lastJniFrame?(void*)lastJniFrame->frame.jni.fp:0)); );
 
 	/*
 	 * now walk up the stack 




More information about the kaffe mailing list