From 90444b142a204e430d788aa142f8531e196d73a8 Mon Sep 17 00:00:00 2001 From: wentch <22250530@qq.com> Date: Fri, 25 Dec 2015 10:46:40 +0800 Subject: [PATCH] --- src/org/redkale/util/Utility.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/redkale/util/Utility.java b/src/org/redkale/util/Utility.java index e5410b31a..6200e527a 100644 --- a/src/org/redkale/util/Utility.java +++ b/src/org/redkale/util/Utility.java @@ -395,8 +395,8 @@ public final class Utility { * @param low * @return */ - public static long merge(long high, long low) { - return high << 32 | low; + public static long merge(int high, int low) { + return (0L + high) << 32 | low; } public static ByteBuffer encodeUTF8(final ByteBuffer buffer, final char[] text, final int start, final int len) {