diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-23 14:06:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-23 15:25:43 +0200 |
commit | 1afbd8936a43162422d41e4e5fd35091584e050e (patch) | |
tree | a2b182e7daf0875249b7ab3f6c621af033aca46d | |
parent | 45450c7edc99f7c2440a33ad9f3374949d8aaccc (diff) | |
download | serenity-1afbd8936a43162422d41e4e5fd35091584e050e.zip |
Kernel+LibC: Let's say that off_t is a ssize_t
-rw-r--r-- | Kernel/UnixTypes.h | 2 | ||||
-rw-r--r-- | Libraries/LibC/sys/types.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/UnixTypes.h b/Kernel/UnixTypes.h index c9197931e9..1a6583ef9b 100644 --- a/Kernel/UnixTypes.h +++ b/Kernel/UnixTypes.h @@ -320,7 +320,7 @@ struct sigaction { #define OFF_T_MAX 2147483647 -typedef i32 off_t; +typedef ssize_t off_t; typedef i64 time_t; struct utimbuf { diff --git a/Libraries/LibC/sys/types.h b/Libraries/LibC/sys/types.h index 0e8bfbcf33..43d4e7e0dd 100644 --- a/Libraries/LibC/sys/types.h +++ b/Libraries/LibC/sys/types.h @@ -48,7 +48,7 @@ typedef int id_t; typedef __WINT_TYPE__ wint_t; typedef uint32_t ino_t; -typedef int32_t off_t; +typedef ssize_t off_t; typedef uint32_t dev_t; typedef uint16_t mode_t; |