From 13c456e099822526a3eb533522ba46060819b503 Mon Sep 17 00:00:00 2001 From: Daniel Fuchs Date: Wed, 4 Feb 2015 17:12:03 +0100 Subject: [PATCH] 8072450: 9-dev build failed on elinux-i586 and rlinux-i586 Added LL suffix to constant declaration Reviewed-by: dholmes, coleenp, sla --- hotspot/src/share/vm/prims/jvm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/prims/jvm.cpp b/hotspot/src/share/vm/prims/jvm.cpp index 2d52d7e0723..8056a37c05e 100644 --- a/hotspot/src/share/vm/prims/jvm.cpp +++ b/hotspot/src/share/vm/prims/jvm.cpp @@ -304,7 +304,7 @@ JVM_END // 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))