aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icep.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-10-06 17:08:25 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-10-06 17:08:25 +0000
commit871ada80d823fce0b74872991ac3ca73cefdb1d0 (patch)
treeefc1d461b9313fe21163ef4156a00278ed60be93 /epan/dissectors/packet-icep.c
parent9fd6789da87b8b5cdc3509339d30ffb07ad180bd (diff)
remove MSVC compiler warning
svn path=/trunk/; revision=12221
Diffstat (limited to 'epan/dissectors/packet-icep.c')
-rw-r--r--epan/dissectors/packet-icep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icep.c b/epan/dissectors/packet-icep.c
index 0b9a2e8738..f0144f4078 100644
--- a/epan/dissectors/packet-icep.c
+++ b/epan/dissectors/packet-icep.c
@@ -609,7 +609,7 @@ static void dissect_ice_params(proto_tree *tree, tvbuff_t *tvb,
/* check if I got all encapsulated data */
tvb_data_remained = tvb_reported_length_remaining(tvb, offset);
- if ( tvb_data_remained < ( size - ICEP_MIN_PARAMS_SIZE ) ) {
+ if ( ((gint32) tvb_data_remained) < ( size - ICEP_MIN_PARAMS_SIZE ) ) {
if (tree)
proto_tree_add_text(tree, tvb, offset, -1,