[kaffe] CVS kaffe (robilad): small warning fix for alpha-linux

Kaffe CVS cvs-commits at kaffe.org
Tue Sep 12 17:02:39 PDT 2006


PatchSet 7415 
Date: 2006/09/12 23:54:08
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix for alpha-linux

2006-09-13  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/systems/unix-pthreads/signal.c
(KaffePThread_detectStackBoundaries): Added missing
casts to fix compiler warning on alpha-linux.

Members: 
	ChangeLog:1.4917->1.4918 
	kaffe/kaffevm/systems/unix-pthreads/signal.c:1.25->1.26 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4917 kaffe/ChangeLog:1.4918
--- kaffe/ChangeLog:1.4917	Tue Sep 12 22:26:53 2006
+++ kaffe/ChangeLog	Tue Sep 12 23:54:08 2006
@@ -1,5 +1,11 @@
 2006-09-13  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/systems/unix-pthreads/signal.c 
+	(KaffePThread_detectStackBoundaries): Added missing 
+	casts to fix compiler warning on alpha-linux.
+
+2006-09-13  Dalibor Topic  <robilad at kaffe.org>
+
 	* include/jsyscall.h (SystemCallInterface):
 	Removed _mmap and _msync. (KMMAP, KMSYNC, 
 	KAFFE_MMAP_READ, KAFFE_MMAP_WRITE, 
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.25 kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.26
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.25	Sat Jul 15 21:16:54 2006
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c	Tue Sep 12 23:54:13 2006
@@ -478,11 +478,11 @@
 	 * may guess the other boundary.
 	 */
 #if defined(STACK_GROWS_UP)
-	jtid->stackMin = guessPointer;
+	jtid->stackMin = (void *)guessPointer;
 	jtid->stackMax = (char *)jtid->stackMin + mainThreadStackSize;
 	jtid->stackCur = jtid->stackMax;
 #else
-	jtid->stackMax = guessPointer;
+	jtid->stackMax = (void *)guessPointer;
 	jtid->stackMin = (char *)jtid->stackMax - mainThreadStackSize;
 	jtid->stackCur = jtid->stackMin;
 #endif




More information about the kaffe mailing list