diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-23 01:29:52 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-23 01:29:52 +0000 |
commit | 7994794ad9cddeb5c610cc32843e4d5de0e5c81a (patch) | |
tree | e71a9ea8b4ff5d1244f454616e128c9737b090ba /epan/dissectors/packet-ncp-sss.c | |
parent | 411249419dc399c8fcf5a364a90067f864626ba1 (diff) |
fix a lot more warnings
svn path=/trunk/; revision=21142
Diffstat (limited to 'epan/dissectors/packet-ncp-sss.c')
-rw-r--r-- | epan/dissectors/packet-ncp-sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ncp-sss.c b/epan/dissectors/packet-ncp-sss.c index 6d4840e9e7..b504667192 100644 --- a/epan/dissectors/packet-ncp-sss.c +++ b/epan/dissectors/packet-ncp-sss.c @@ -642,7 +642,7 @@ dissect_sss_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ncp_tree, ncp { msg_length = tvb_get_letohl(tvb, foffset); foffset += 4; - if (tvb_length_remaining(tvb, foffset) < msg_length) + if (tvb_length_remaining(tvb, foffset) < (gint) msg_length) { proto_tree_add_item(atree, hf_enc_data, tvb, foffset, -1, TRUE); } |