]> git.ipfire.org Git - people/ms/suricata.git/blobdiff - src/app-layer-enip.c
enip: fix int warnings
[people/ms/suricata.git] / src / app-layer-enip.c
index e7a9e9d3eddb43dd01499bb4e7f00867b0f19b5d..cac76412f6acc9f984ce1dbed8c6573936af867a 100644 (file)
@@ -93,7 +93,7 @@ static void *ENIPGetTx(void *alstate, uint64_t tx_id)
 
 static uint64_t ENIPGetTxCnt(void *alstate)
 {
-    return ((uint64_t) ((ENIPState *) alstate)->transaction_max);
+    return ((ENIPState *)alstate)->transaction_max;
 }
 
 static AppLayerDecoderEvents *ENIPGetEvents(void *tx)