diff options
author | Evan Huus <eapache@gmail.com> | 2014-06-26 11:37:06 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-06-26 15:38:11 +0000 |
commit | c9b03b424f708b6f89bd9b95e8c1e28f9626c39d (patch) | |
tree | 8ceeedeed4a9ac66edcb937b8a73b173e1bed061 | |
parent | 1f724bc891173e5941a031f158f92f2d2ed3cbcc (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>
-rw-r--r-- | epan/dissectors/packet-iser.c | 2 |
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); |