[kaffe] CVS kaffe (doogie): Use LL suffix instead of just L for long long constant.

Kaffe CVS cvs-commits at kaffe.org
Thu Dec 16 19:43:08 PST 2004


PatchSet 5651 
Date: 2004/12/17 03:38:45
Author: doogie
Branch: HEAD
Tag: (none) 
Log:
Use LL suffix instead of just L for long long constant.

Members: 
	ChangeLog:1.3196->1.3197 
	libraries/clib/native/Runtime.c:1.27->1.28 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3196 kaffe/ChangeLog:1.3197
--- kaffe/ChangeLog:1.3196	Thu Dec 16 19:13:15 2004
+++ kaffe/ChangeLog	Fri Dec 17 03:38:45 2004
@@ -1,3 +1,8 @@
+2004-12-16  Adam Heath  <doogieg at brainfood.com>
+
+	* libraries/clib/native/Runtime.c:
+	  Use LL suffix instead of just L for long long constant.
+
 2004-12-16  Michael Koch  <konqueror at gmx.de>
 
 	* libraries/javalib/javax/swing/JTable.java,
Index: kaffe/libraries/clib/native/Runtime.c
diff -u kaffe/libraries/clib/native/Runtime.c:1.27 kaffe/libraries/clib/native/Runtime.c:1.28
--- kaffe/libraries/clib/native/Runtime.c:1.27	Sat Dec 11 03:59:56 2004
+++ kaffe/libraries/clib/native/Runtime.c	Fri Dec 17 03:38:50 2004
@@ -66,7 +66,7 @@
 	jlong max = KGC_getHeapLimit(main_collector);
 
 	if (max <= 0) {
-		return 0x7fffffffffffffffL;
+		return 0x7fffffffffffffffLL;
 	}
 	else {
 		return max;




More information about the kaffe mailing list