aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2009-11-09 11:10:38 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2009-11-09 11:10:38 +0000
commit6634d939d42529ffd627806f4b39bd02b8e6e213 (patch)
tree02d24f270f08062e5e715e472818a0e31b0ab906
parentf0d8951ae05457e901abaf8aa0cd2abf86685248 (diff)
downloadwireshark-6634d939d42529ffd627806f4b39bd02b8e6e213.tar.gz
wireshark-6634d939d42529ffd627806f4b39bd02b8e6e213.tar.bz2
wireshark-6634d939d42529ffd627806f4b39bd02b8e6e213.zip
Avoid a warning about signed/unsigned comparison.
svn path=/trunk/; revision=30875
-rw-r--r--epan/dissectors/packet-bacapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index 9964966d64..7507adc735 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -1783,7 +1783,7 @@ fGetMaxAPDUSize(guint8 index)
/* only 16 values are defined, so use & 0x0f */
/* check the size of the Array, deliver either the entry
or the first entry if index is outside of the array (bug 3736 comment#7) */
- if ((index & 0x0f) >= (sizeof(MaxAPDUSize)/sizeof(guint)))
+ if ((index & 0x0f) >= (gint)(sizeof(MaxAPDUSize)/sizeof(guint)))
return MaxAPDUSize[0];
else
return MaxAPDUSize[index & 0x0f];