diff options
Diffstat (limited to 'avahi-core')
-rw-r--r-- | avahi-core/util.c | 2 | ||||
-rw-r--r-- | avahi-core/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |