diff options
-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; |