aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-08-09 22:54:03 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-08-09 22:54:03 +0000
commit9e4b323ef564149e43101e1ffd4d8becd17b0a2b (patch)
tree11e715b74b49315d7334292a85a84403edc9e4cf /epan/dissectors/packet-bacapp.c
parent9f2380fcdef73c0308b7a83f9166ab5305b08060 (diff)
Future-proof a for loop.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33752 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r--epan/dissectors/packet-bacapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index c881f9d044..784805ec7e 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -4033,7 +4033,8 @@ fSigned64 (tvbuff_t *tvb, guint offset, guint32 lvt, gint64 *val)
{
gboolean valid = FALSE;
gint64 value = 0;
- guint8 data, i;
+ guint8 data;
+ guint32 i;
/* we can only handle 7 bytes for a 64-bit value due to signed-ness */
if (lvt && (lvt <= 7)) {