aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-09 11:10:38 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-09 11:10:38 +0000
commit727a50caf55a3203f3b084fe2dcfd802392c7a86 (patch)
tree02d24f270f08062e5e715e472818a0e31b0ab906 /epan/dissectors/packet-bacapp.c
parent9af7aaf79958b017315462e182726c04bb21c7bb (diff)
Avoid a warning about signed/unsigned comparison.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30875 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-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];