From 6634d939d42529ffd627806f4b39bd02b8e6e213 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Mon, 9 Nov 2009 11:10:38 +0000 Subject: Avoid a warning about signed/unsigned comparison. svn path=/trunk/; revision=30875 --- epan/dissectors/packet-bacapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3