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

Kaffe CVS cvs-commits at kaffe.org
Sun Apr 23 15:19:30 PDT 2006


PatchSet 7269 
Date: 2006/04/23 22:11:01
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix

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

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

Members: 
	ChangeLog:1.4773->1.4774 
	kaffe/kaffevm/exception.c:1.106->1.107 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4773 kaffe/ChangeLog:1.4774
--- kaffe/ChangeLog:1.4773	Sun Apr 23 21:23:29 2006
+++ kaffe/ChangeLog	Sun Apr 23 22:11:01 2006
@@ -1,3 +1,8 @@
+2006-04-24  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/exception.c (dispatchException): Added missing
+	cast to fix compiler warning.
+
 2006-04-23  Dalibor Topic  <robilad at kaffe.org>
 
 	* kaffe/kaffevm/Makefile.am: Removed stringParsing.c and 
Index: kaffe/kaffe/kaffevm/exception.c
diff -u kaffe/kaffe/kaffevm/exception.c:1.106 kaffe/kaffe/kaffevm/exception.c:1.107
--- kaffe/kaffe/kaffevm/exception.c:1.106	Fri Apr 14 19:02:07 2006
+++ kaffe/kaffe/kaffevm/exception.c	Sun Apr 23 22:11:05 2006
@@ -421,7 +421,10 @@
 		/*
 		 * if we reach the last jni frame, we're done
 		 */
-		if (lastJniFrame && vmExcept_JNIContains(lastJniFrame, frame->fp)) {
+		if (lastJniFrame 
+		    && vmExcept_JNIContains(lastJniFrame, 
+					    (JNIFrameAddress) frame->fp)) 
+		{
 			thread_data->exceptPtr = lastJniFrame;
 			vmExcept_jumpToHandler(lastJniFrame); /* doesn't return */
 		}




More information about the kaffe mailing list