diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-09-02 17:34:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-09-02 17:34:44 +0000 |
commit | 478b6ee2ed027dbee4ebf153ce5cf0759a1d39d5 (patch) | |
tree | d6e927c337a6de8139bcc16ea07ab8bdc267b551 /src | |
parent | bddb0bff603b3ff18121af143567571f21022009 (diff) | |
download | s6-dns-478b6ee2ed027dbee4ebf153ce5cf0759a1d39d5.tar.xz |
Pass errno as unsigned char
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/skadns/skadns_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skadns/skadns_update.c b/src/skadns/skadns_update.c index b6dcca0..4e0f037 100644 --- a/src/skadns/skadns_update.c +++ b/src/skadns/skadns_update.c @@ -40,7 +40,7 @@ static int msghandler (struct iovec const *v, void *context) memcpy(p->data, s+3, v->iov_len-3) ; p->len = v->iov_len-3 ; } - p->status = s[2] ; + p->status = (unsigned char)s[2] ; genalloc_append(uint16_t, &a->list, &id) ; return 1 ; } |