aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-06-26 11:37:06 -0400
committerEvan Huus <eapache@gmail.com>2014-06-26 15:38:11 +0000
commitc9b03b424f708b6f89bd9b95e8c1e28f9626c39d (patch)
tree8ceeedeed4a9ac66edcb937b8a73b173e1bed061 /epan
parent1f724bc891173e5941a031f158f92f2d2ed3cbcc (diff)
add a cast, the mask makes it safe (stupid compiler)
Change-Id: Iaf24c62295a93a1abd4fe3daf7e4c9587c3ef76b Reviewed-on: https://code.wireshark.org/review/2670 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-iser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iser.c b/epan/dissectors/packet-iser.c
index 5d990799f9..f978118986 100644
--- a/epan/dissectors/packet-iser.c
+++ b/epan/dissectors/packet-iser.c
@@ -279,7 +279,7 @@ dissect_iser(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
if ((convo_data->service_id & SID_MASK) != SID_ULP_TCP)
return 0; /* the service id doesn't match that of TCP ULP - nothing for us to do here */
- if (!(value_is_in_range(gPORT_RANGE, convo_data->service_id & SID_PORT_MASK)))
+ if (!(value_is_in_range(gPORT_RANGE, (guint32)(convo_data->service_id & SID_PORT_MASK))))
return 0; /* the port doesn't match that of iSER - nothing for us to do here */
return dissect_packet(tvb, pinfo, tree);