diff options
Diffstat (limited to 'src/plugins/cnat/cnat_translation.h')
-rw-r--r-- | src/plugins/cnat/cnat_translation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cnat/cnat_translation.h b/src/plugins/cnat/cnat_translation.h index a4ae1ece718..7a035814544 100644 --- a/src/plugins/cnat/cnat_translation.h +++ b/src/plugins/cnat/cnat_translation.h @@ -222,7 +222,7 @@ cnat_find_translation (index_t cti, u16 port, ip_protocol_t proto) u64 key; int rv; - key = (proto << 24) | port; + key = ((u64) proto << 24) | port; key = key << 32 | (u32) cti; bkey.key = key; |