diff options
author | Jim Klimov <jim@jimklimov.com> | 2016-07-15 18:24:48 +0200 |
---|---|---|
committer | Jim Klimov <jim@jimklimov.com> | 2016-07-15 18:24:48 +0200 |
commit | 0f4f481e63be341778cb20983ee7f1f9e76ff06d (patch) | |
tree | e8a5e400b3113b9ff7d3ab3f69fb61dfb513ff58 | |
parent | 6905acca39f794eafdab74b978be9bdfbd052e37 (diff) | |
download | distcc-git-0f4f481e63be341778cb20983ee7f1f9e76ff06d.tar.gz |
src/zeroconf-reg.c : PROPERLY use sentinels (ensure that NULL is a pointer here for all compilers)
-rw-r--r-- | src/zeroconf-reg.c | 2 |
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; } |