From f1b541eb614861312f917dab1bf75ad8267e321a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 23 May 2005 16:39:01 +0000 Subject: * add new tool avahi-discover git-svn-id: file:///home/lennart/svn/public/avahi/trunk@91 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/util.c | 2 +- avahi-core/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'avahi-core') diff --git a/avahi-core/util.c b/avahi-core/util.c index 8dd9e64..b186817 100644 --- a/avahi-core/util.c +++ b/avahi-core/util.c @@ -381,7 +381,7 @@ void avahi_hexdump(gconstpointer p, guint size) { } } -gint avahi_domain_hash(const gchar *s) { +guint avahi_domain_hash(const gchar *s) { guint hash = 0; for (;;) { diff --git a/avahi-core/util.h b/avahi-core/util.h index 45b4ce7..ef87f5f 100644 --- a/avahi-core/util.h +++ b/avahi-core/util.h @@ -50,6 +50,6 @@ gchar *avahi_unescape_label(const gchar **name, gchar *dest, guint size); /* Escape the domain name in *src and write it to *ret_name */ gchar *avahi_escape_label(const guint8* src, guint src_length, gchar **ret_name, guint *ret_size); -gint avahi_domain_hash(const gchar *s); +guint avahi_domain_hash(const gchar *s); #endif -- cgit