summaryrefslogtreecommitdiff
path: root/src/libs6/s6-ftrigrd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-09-02 19:11:11 +0000
committerLaurent Bercot <ska@appnovation.com>2021-09-02 19:11:11 +0000
commitd9488baa63351cafd237f5af15018ea5898ec0bc (patch)
tree9704741988528c28a8cb51c1e60fae56d712ab6d /src/libs6/s6-ftrigrd.c
parent208dc53700866d413efaf7374ebd9dbaeaee6551 (diff)
downloads6-d9488baa63351cafd237f5af15018ea5898ec0bc.tar.xz
Pass errno as unsigned char
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6/s6-ftrigrd.c')
-rw-r--r--src/libs6/s6-ftrigrd.c4
1 files changed, 2 insertions, 2 deletions
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") ;