From 99f8133b91df445515ba849d355af371ca44be2e Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 11 Jun 2023 22:14:43 +0300 Subject: [PATCH] LibC: gid_t and id_t are now signed types I have no idea why I had made them unisigned --- libc/include/sys/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/include/sys/types.h b/libc/include/sys/types.h index 1f3908dd..c76b488f 100644 --- a/libc/include/sys/types.h +++ b/libc/include/sys/types.h @@ -92,13 +92,13 @@ __BEGIN_DECLS #if !defined(__gid_t_defined) && (defined(__need_all_types) || defined(__need_gid_t)) #define __gid_t_defined 1 - typedef unsigned int gid_t; + typedef int gid_t; #endif #undef __need_gid_t #if !defined(__id_t_defined) && (defined(__need_all_types) || defined(__need_id_t)) #define __id_t_defined 1 - typedef unsigned int id_t; + typedef int id_t; #endif #undef __need_id_t