aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/BitUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/helper/BitUtil.java')
-rw-r--r--src/org/traccar/helper/BitUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/BitUtil.java b/src/org/traccar/helper/BitUtil.java
index 6dceb52d7..e13df8f7e 100644
--- a/src/org/traccar/helper/BitUtil.java
+++ b/src/org/traccar/helper/BitUtil.java
@@ -37,7 +37,7 @@ public class BitUtil {
}
public static long range(long number, int index, int length) {
- return (number >> index) & ((1l << length) - 1);
+ return (number >> index) & ((1L << length) - 1);
}
}