From 2be7dc13cecbb995692eec1bfc1d27799651ec70 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 27 Oct 2005 19:22:51 +0000 Subject: [PATCH] change rdata type from "uint8_t*" to "const void*" git-svn-id: file:///home/lennart/svn/public/avahi/trunk@897 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/entrygroup.c | 4 ++-- avahi-client/publish.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c index 4143f2b..e94001b 100644 --- a/avahi-client/entrygroup.c +++ b/avahi-client/entrygroup.c @@ -330,7 +330,7 @@ fail: return r; } -static int append_rdata(DBusMessage *message, uint8_t *rdata, size_t size) { +static int append_rdata(DBusMessage *message, const void *rdata, size_t size) { DBusMessageIter iter, sub; assert(message); @@ -801,7 +801,7 @@ int avahi_entry_group_add_record( uint16_t clazz, uint16_t type, uint32_t ttl, - uint8_t *rdata, + const void *rdata, size_t size) { DBusMessage *message = NULL, *reply = NULL; diff --git a/avahi-client/publish.h b/avahi-client/publish.h index 1207a21..da0d467 100644 --- a/avahi-client/publish.h +++ b/avahi-client/publish.h @@ -146,7 +146,7 @@ int avahi_entry_group_add_record( uint16_t clazz, uint16_t type, uint32_t ttl, - uint8_t *rdata, + const void *rdata, size_t size); AVAHI_C_DECL_END -- 2.39.5