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

Kaffe CVS cvs-commits at kaffe.org
Sat Dec 24 19:55:17 PST 2005


PatchSet 7049 
Date: 2005/12/25 03:47:21
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fixlet
2005-12-25  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/systems/unix-jthreads/jthread.c:
        Cast jlong to long in debug statement to fix a compiler warning.

Members: 
	ChangeLog:1.4568->1.4569 
	kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.140->1.141 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4568 kaffe/ChangeLog:1.4569
--- kaffe/ChangeLog:1.4568	Sun Dec 25 02:57:11 2005
+++ kaffe/ChangeLog	Sun Dec 25 03:47:21 2005
@@ -1,5 +1,10 @@
 2005-12-25  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/systems/unix-jthreads/jthread.c:
+	Cast jlong to long in debug statement to fix a compiler warning.
+
+2005-12-25  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/systems/unix-jthreads/jthread.c (start_this_sucker_on_a_new_frame):
 	Removed attribute NONRETURNING to fix a compiler warning.
 
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.140 kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.141
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.140	Sun Dec 25 02:57:13 2005
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c	Sun Dec 25 03:47:24 2005
@@ -2272,7 +2272,7 @@
 		} else {
 			maxWait = firstAlarm - curTime;
 		}
-		DBG(JTHREADDETAIL, dprintf("handleIO(sleep=%d) maxWait=%d\n", canSleep, maxWait); );
+		DBG(JTHREADDETAIL, dprintf("handleIO(sleep=%d) maxWait=%ld\n", canSleep, (long) maxWait); );
 	}
 
 #if USE_POLL




More information about the kaffe mailing list