changeset 28744:4283637ac96e

8072450: 9-dev build failed on elinux-i586 and rlinux-i586 Summary: added LL suffix to constant declaration Reviewed-by: dholmes, coleenp, sla
author dfuchs
date Wed, 04 Feb 2015 17:12:03 +0100
parents a9eac944c97d
children 674362e1d111 759e09099cd7
files hotspot/src/share/vm/prims/jvm.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/prims/jvm.cpp	Fri Jan 30 16:56:05 2015 -0800
+++ b/hotspot/src/share/vm/prims/jvm.cpp	Wed Feb 04 17:12:03 2015 +0100
@@ -304,7 +304,7 @@
 // java.lang.System, but we choose to keep it here so that it stays next
 // to JVM_CurrentTimeMillis and JVM_NanoTime
 
-const jlong MAX_DIFF_SECS = 0x0100000000;   //  2^32
+const jlong MAX_DIFF_SECS = 0x0100000000LL; //  2^32
 const jlong MIN_DIFF_SECS = -MAX_DIFF_SECS; // -2^32
 
 JVM_LEAF(jlong, JVM_GetNanoTimeAdjustment(JNIEnv *env, jclass ignored, jlong offset_secs))