From 5ca66151f5f5916f843ea64d05fc460c602cc753 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 2 Sep 2021 21:42:17 +0000 Subject: And more Signed-off-by: Laurent Bercot --- src/pub/skabus-pubd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pub/skabus-pubd.c') diff --git a/src/pub/skabus-pubd.c b/src/pub/skabus-pubd.c index 8bbaae0..6103206 100644 --- a/src/pub/skabus-pubd.c +++ b/src/pub/skabus-pubd.c @@ -338,9 +338,9 @@ static inline int client_flush (uint32_t i, iopause_fd const *x) return 1 ; } -static int answer (client_t *c, char e) +static int answer (client_t *c, unsigned char e) { - unixmessage m = { .s = &e, .len = 1, .fds = 0, .nfds = 0 } ; + unixmessage m = { .s = (char *)&e, .len = 1, .fds = 0, .nfds = 0 } ; if (!unixmessage_put(&c->sync.out, &m)) return 0 ; client_setdeadline(c) ; return 1 ; -- cgit v1.3.1