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/include/s6/lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/s6/lock.h b/src/include/s6/lock.h index e87e001..766a0a1 100644 --- a/src/include/s6/lock.h +++ b/src/include/s6/lock.h @@ -31,7 +31,7 @@ struct s6lock_s { textclient connection ; genalloc list ; /* array of uint16_t */ - gensetdyn data ; /* set of char */ + gensetdyn data ; /* set of unsigned char */ } ; #define S6LOCK_ZERO { .connection = TEXTCLIENT_ZERO, .list = GENALLOC_ZERO, .data = GENSETDYN_INIT(int, 2, 0, 1) } extern s6lock_t const s6lock_zero ; -- cgit v1.3.1