summaryrefslogtreecommitdiff
path: root/src/libs6/s6_fdholder_delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/s6_fdholder_delete.c')
-rw-r--r--src/libs6/s6_fdholder_delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6_fdholder_delete.c b/src/libs6/s6_fdholder_delete.c
index 585722d..c460d1d 100644
--- a/src/libs6/s6_fdholder_delete.c
+++ b/src/libs6/s6_fdholder_delete.c
@@ -21,5 +21,5 @@ int s6_fdholder_delete (s6_fdholder_t *a, char const *id, tain const *deadline,
unixmessage_drop(&m) ;
return (errno = EPROTO, 0) ;
}
- return m.s[0] ? (errno = m.s[0], 0) : 1 ;
+ return m.s[0] ? (errno = (unsigned char)m.s[0], 0) : 1 ;
}