From 83dd8480b86652553525f774f11d7142ea48e90e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 5 Nov 2003 20:10:00 +0000 Subject: [PATCH] A "GHashFunc()" returns a "guint", not a "gint". svn path=/trunk/; revision=8887 --- packet-ldap.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packet-ldap.c b/packet-ldap.c index 1b9c5faa22..6768d37b5a 100644 --- a/packet-ldap.c +++ b/packet-ldap.c @@ -3,7 +3,7 @@ * * See RFC 1777 (LDAP v2), RFC 2251 (LDAP v3), and RFC 2222 (SASL). * - * $Id: packet-ldap.c,v 1.65 2003/11/05 09:04:16 sahlberg Exp $ + * $Id: packet-ldap.c,v 1.66 2003/11/05 20:10:00 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -158,13 +158,14 @@ static ldap_conv_info_t *ldap_info_items; static GMemChunk *ldap_call_response_chunk = NULL; static guint ldap_call_response_chunk_count = 200; -static gint +static guint ldap_info_hash_matched(gconstpointer k) { ldap_call_response_t *key = (ldap_call_response_t *)k; return key->messageId; } + static gint ldap_info_equal_matched(gconstpointer k1, gconstpointer k2) { @@ -181,13 +182,14 @@ ldap_info_equal_matched(gconstpointer k1, gconstpointer k2) return key1->messageId==key2->messageId; } -static gint +static guint ldap_info_hash_unmatched(gconstpointer k) { ldap_call_response_t *key = (ldap_call_response_t *)k; return key->messageId; } + static gint ldap_info_equal_unmatched(gconstpointer k1, gconstpointer k2) {