diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-09-02 21:42:17 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2021-09-02 21:42:17 +0000 |
| commit | 5ca66151f5f5916f843ea64d05fc460c602cc753 (patch) | |
| tree | a13c188a26b767fd9ab2d63592e815cefe2485f6 /src/pub/skabus-pubd.c | |
| parent | 38ae9c27fff50c3d635673d45dadd5b5132afc90 (diff) | |
| download | skabus-5ca66151f5f5916f843ea64d05fc460c602cc753.tar.gz | |
And more
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/pub/skabus-pubd.c')
| -rw-r--r-- | src/pub/skabus-pubd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ; |
