aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-13 06:44:59 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-13 06:44:59 -0700
commit812994893d2bdd3e873b1ba27844b713f59e5449 (patch)
tree3449ffe779841e88e611f1b0e529ce485b1b9f09 /src/main/java
parent10aba298620884d6f018fe94cda9b1d4d4a9e20f (diff)
downloadtrackermap-server-812994893d2bdd3e873b1ba27844b713f59e5449.tar.gz
trackermap-server-812994893d2bdd3e873b1ba27844b713f59e5449.tar.bz2
trackermap-server-812994893d2bdd3e873b1ba27844b713f59e5449.zip
Fix deprecated
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/IotmProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/IotmProtocolDecoder.java b/src/main/java/org/traccar/protocol/IotmProtocolDecoder.java
index bdc691d27..7bbe6c8de 100644
--- a/src/main/java/org/traccar/protocol/IotmProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/IotmProtocolDecoder.java
@@ -260,7 +260,7 @@ public class IotmProtocolDecoder extends BaseProtocolDecoder {
MqttSubscribeMessage message = (MqttSubscribeMessage) msg;
MqttMessage response = MqttMessageBuilders.subAck()
- .packetId((short) message.variableHeader().messageId())
+ .packetId(message.variableHeader().messageId())
.build();
if (channel != null) {