From 6de396c4a889a107de4e937313774effb208cdbe Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Fri, 26 Oct 2001 18:28:17 +0000 Subject: Fix the rest of the signed/unsigned comparison warnings. svn path=/trunk/; revision=4088 --- packet-gnutella.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packet-gnutella.c') diff --git a/packet-gnutella.c b/packet-gnutella.c index e03b55a864..dba10d9e09 100644 --- a/packet-gnutella.c +++ b/packet-gnutella.c @@ -2,7 +2,7 @@ * Routines for gnutella dissection * Copyright 2001, B. Johannessen * - * $Id: packet-gnutella.c,v 1.6 2001/10/26 02:09:01 gram Exp $ + * $Id: packet-gnutella.c,v 1.7 2001/10/26 18:28:16 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -94,7 +94,7 @@ static int hf_gnutella_push_port = -1; static gint ett_gnutella = -1; -static void dissect_gnutella_pong(tvbuff_t *tvb, int offset, proto_tree *tree, int size) { +static void dissect_gnutella_pong(tvbuff_t *tvb, guint offset, proto_tree *tree, guint size) { if(offset + size > tvb_length(tvb)) { proto_tree_add_item(tree, @@ -136,7 +136,7 @@ static void dissect_gnutella_pong(tvbuff_t *tvb, int offset, proto_tree *tree, i } -static void dissect_gnutella_query(tvbuff_t *tvb, int offset, proto_tree *tree, int size) { +static void dissect_gnutella_query(tvbuff_t *tvb, guint offset, proto_tree *tree, guint size) { if(offset + size > tvb_length(tvb)) { proto_tree_add_item(tree, @@ -172,7 +172,7 @@ static void dissect_gnutella_query(tvbuff_t *tvb, int offset, proto_tree *tree, } } -static void dissect_gnutella_queryhit(tvbuff_t *tvb, int offset, proto_tree *tree, int size) { +static void dissect_gnutella_queryhit(tvbuff_t *tvb, guint offset, proto_tree *tree, guint size) { proto_tree *qhi, *hit_tree; int hit_count, i; @@ -329,7 +329,7 @@ static void dissect_gnutella_queryhit(tvbuff_t *tvb, int offset, proto_tree *tre } -static void dissect_gnutella_push(tvbuff_t *tvb, int offset, proto_tree *tree, int size) { +static void dissect_gnutella_push(tvbuff_t *tvb, guint offset, proto_tree *tree, guint size) { if(offset + size > tvb_length(tvb)) { proto_tree_add_item(tree, -- cgit v1.2.3