aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorMaarten Meersseman <maarten.meersseman@tvh.com>2018-07-20 09:35:40 +0200
committerMaarten Meersseman <maarten.meersseman@tvh.com>2018-07-20 09:35:40 +0200
commitd1dfd6a9fb16e1682777ca361d91c1669489ca59 (patch)
tree55cbdd8d6df1e4f72bac0f6685bf8dc04fa9e68d /src/org/traccar/protocol
parent1a87b6958947484d0ab8b5acecf5ff7c3c491fd1 (diff)
downloadtraccar-server-d1dfd6a9fb16e1682777ca361d91c1669489ca59.tar.gz
traccar-server-d1dfd6a9fb16e1682777ca361d91c1669489ca59.tar.bz2
traccar-server-d1dfd6a9fb16e1682777ca361d91c1669489ca59.zip
removed conversion
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 5f0380fcd..19f4bd67b 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -306,7 +306,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
}
if (BitUtil.check(locationMask, 4)) {
- position.set(Position.KEY_SATELLITES, (int) buf.readUnsignedByte());
+ position.set(Position.KEY_SATELLITES, buf.readUnsignedByte());
}
if (BitUtil.check(locationMask, 5)) {