diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-04-25 03:02:50 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-04-25 03:02:50 +0000 |
commit | 87772809f474d67d2cea4c45f8c10835ab0ed6e0 (patch) | |
tree | 8846521e5b7601f8e6b0a94f6e3e74db1137e6ab /epan/dissectors/packet-srvloc.c | |
parent | f78d66b0d78c8decaf76cdce4edc79be551398a3 (diff) |
Fix an infinite loop.
svn path=/trunk/; revision=14182
Diffstat (limited to 'epan/dissectors/packet-srvloc.c')
-rw-r--r-- | epan/dissectors/packet-srvloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-srvloc.c b/epan/dissectors/packet-srvloc.c index 63c694a639..c4dee7ee27 100644 --- a/epan/dissectors/packet-srvloc.c +++ b/epan/dissectors/packet-srvloc.c @@ -430,7 +430,7 @@ static guint8* unicode_to_bytes(tvbuff_t *tvb, int offset, int length, gboolean endianness) { const char *ascii_text = tvb_get_ptr(tvb, offset, length); - guint8 i, j=0; + int i, j=0; guint8 c_char, c_char1; static guint8 byte_array[255]; |