aboutsummaryrefslogtreecommitdiff
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
parent1a87b6958947484d0ab8b5acecf5ff7c3c491fd1 (diff)
downloadtrackermap-server-d1dfd6a9fb16e1682777ca361d91c1669489ca59.tar.gz
trackermap-server-d1dfd6a9fb16e1682777ca361d91c1669489ca59.tar.bz2
trackermap-server-d1dfd6a9fb16e1682777ca361d91c1669489ca59.zip
removed conversion
-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)) {