summaryrefslogtreecommitdiff
path: root/src/zeroconf-reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zeroconf-reg.c')
-rw-r--r--src/zeroconf-reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeroconf-reg.c b/src/zeroconf-reg.c
index cfe00b3..744c868 100644
--- a/src/zeroconf-reg.c
+++ b/src/zeroconf-reg.c
@@ -100,7 +100,7 @@ static void register_stuff(struct context *ctx) {
"gnuhost="GNU_HOST,
v ? version : NULL,
m ? machine : NULL,
- NULL) < 0) {
+ (void*)NULL) < 0) {
rs_log_crit("Failed to add service: %s\n", avahi_strerror(avahi_client_errno(ctx->client)));
goto fail;
}