aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/ApelProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/ApelProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/ApelProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/ApelProtocolDecoder.java b/src/org/traccar/protocol/ApelProtocolDecoder.java
index 619831f0f..4184172fa 100644
--- a/src/org/traccar/protocol/ApelProtocolDecoder.java
+++ b/src/org/traccar/protocol/ApelProtocolDecoder.java
@@ -208,7 +208,7 @@ public class ApelProtocolDecoder extends BaseProtocolDecoder {
position.setCourse(buf.readShort() / 100.0);
// Altitude
- position.setAltitude((double) buf.readShort());
+ position.setAltitude(buf.readShort());
if (subtype == MSG_TYPE_STATE_FULL_INFO_T104) {