commit | e1b5d9ef53ec29616171020f3315bdb5e5301fea | [log] [tgz] |
---|---|---|
author | Till Westmann <westmann@gmail.com> | Mon Jan 27 10:39:43 2014 -0800 |
committer | Till Westmann <westmann@gmail.com> | Mon Jan 27 10:39:43 2014 -0800 |
tree | 7d4e6a5f9852a14c916f96e37abc823df82867b8 | |
parent | 6111491a94e9936553239d359ff84cff744f4b9f [diff] |
fix construction with allocId
diff --git a/asterix-maven-plugins/record-manager-generator-maven-plugin/src/main/resources/TypeUtil.java b/asterix-maven-plugins/record-manager-generator-maven-plugin/src/main/resources/TypeUtil.java index 9571156..c1423a1 100644 --- a/asterix-maven-plugins/record-manager-generator-maven-plugin/src/main/resources/TypeUtil.java +++ b/asterix-maven-plugins/record-manager-generator-maven-plugin/src/main/resources/TypeUtil.java
@@ -25,7 +25,7 @@ public static long build(int arenaId, int allocId, int localId) { long result = arenaId; result = result << 48; - result |= (allocId << 32); + result |= (((long)allocId) << 32); result |= localId; return result; }