From d9488baa63351cafd237f5af15018ea5898ec0bc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 2 Sep 2021 19:11:11 +0000 Subject: Pass errno as unsigned char Signed-off-by: Laurent Bercot --- src/libs6/s6-ftrigrd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs6/s6-ftrigrd.c') diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c index e8affd6..00e7703 100644 --- a/src/libs6/s6-ftrigrd.c +++ b/src/libs6/s6-ftrigrd.c @@ -74,9 +74,9 @@ static void trig (uint16_t id, char what, char info) } } -static void answer (char c) +static void answer (unsigned char c) { - if (!textmessage_put(textmessage_sender_1, &c, 1)) + if (!textmessage_put(textmessage_sender_1, (char *)&c, 1)) { cleanup() ; strerr_diefu1sys(111, "textmessage_put") ; -- cgit v1.2.3