stddef: make uid_t and gid_t signed
POSIX describes uid_t and gid_t as SIGNED integer types. They need to be able to store -1 for various syscalls.
This commit is contained in:
+2
-2
@@ -37,10 +37,10 @@ typedef unsigned int ino_t;
|
||||
typedef unsigned int dev_t;
|
||||
|
||||
/// The type of user-id.
|
||||
typedef unsigned int uid_t;
|
||||
typedef int uid_t;
|
||||
|
||||
/// The type of group-id.
|
||||
typedef unsigned int gid_t;
|
||||
typedef int gid_t;
|
||||
|
||||
/// The type of offset.
|
||||
typedef long int off_t;
|
||||
|
||||
Reference in New Issue
Block a user