summaryrefslogtreecommitdiff
path: root/packet-icq.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-27 01:27:37 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-27 01:27:37 +0000
commitc3271d0a764079e1cd6243b06ced97194d207308 (patch)
treed978dd373d6934c0fd5abd3fad1abfae77aea11f /packet-icq.c
parent1ac49ed4ce5b1e53b6d78af9fdc04902e0fb05c4 (diff)
downloadwireshark-c3271d0a764079e1cd6243b06ced97194d207308.tar.gz
More signed-vs-unsigned changes from Joerg Mayer.
svn path=/trunk/; revision=3386
Diffstat (limited to 'packet-icq.c')
-rw-r--r--packet-icq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-icq.c b/packet-icq.c
index 5c53348b5d..64fb29f04d 100644
--- a/packet-icq.c
+++ b/packet-icq.c
@@ -1,7 +1,7 @@
/* packet-icq.c
* Routines for ICQ packet disassembly
*
- * $Id: packet-icq.c,v 1.28 2001/03/27 02:01:31 guy Exp $
+ * $Id: packet-icq.c,v 1.29 2001/04/27 01:27:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Johan Feyaerts
@@ -555,7 +555,7 @@ icqv5_decode_msgType(proto_tree* tree,
guint16 msgType;
gint sep_offset;
int sz; /* Size of the current element */
- int n;
+ unsigned int n;
static char* url_field_descr[] = {
"Description",
"URL",
@@ -1967,7 +1967,7 @@ dissect_icqv5Server(tvbuff_t *tvb,
if (changeCol && check_col(pinfo->fd, COL_INFO))
col_add_fstr(pinfo->fd, COL_INFO, "ICQv5 %s", findServerCmd(cmd));
- if (pktsize == -1)
+ if (pktsize == (guint32)-1)
pktsize = tvb_reported_length(tvb);
if (tree) {