summaryrefslogtreecommitdiffstats
path: root/avahi-client
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-client')
-rw-r--r--avahi-client/entrygroup.c4
-rw-r--r--avahi-client/publish.h2
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