diff options
Diffstat (limited to 'src/skadns')
-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 ; } |