--- a/src/daemon.c	2024-09-19 13:22:52.000000000 -0700
+++ b/src/daemon.c	2025-12-03 21:31:09.368965368 -0700
@@ -74,11 +74,11 @@ static void sysd_notify_ready(void)
 
     const int fd = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0);
     if (fd < 0)
         log_fatal("Cannot create AF_UNIX socket");
 
-    const ssize_t strv = sendto(fd, msg, strlen(msg), 0, &sun, sun_len);
+    const ssize_t strv = sendto(fd, msg, strlen(msg), 0, (const struct sockaddr *)&sun, sun_len);
     if (strv < 0)
         log_fatal("sendto() systemd NOTIFY_SOCKET failed: %s", logf_errno());
 
     if (close(fd))
         log_fatal("close() of systemd NOTIFY_SOCKET failed: %s", logf_errno());
