summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/src/include/asm-i386/posix_types.h4
-rw-r--r--linux/src/include/linux/stddef.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/src/include/asm-i386/posix_types.h b/linux/src/include/asm-i386/posix_types.h
index 712ef70..6a04605 100644
--- a/linux/src/include/asm-i386/posix_types.h
+++ b/linux/src/include/asm-i386/posix_types.h
@@ -15,8 +15,8 @@ typedef long __kernel_off_t;
typedef int __kernel_pid_t;
typedef unsigned short __kernel_uid_t;
typedef unsigned short __kernel_gid_t;
-typedef unsigned int __kernel_size_t;
-typedef int __kernel_ssize_t;
+typedef unsigned long __kernel_size_t;
+typedef long __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
typedef long __kernel_time_t;
typedef long __kernel_clock_t;
diff --git a/linux/src/include/linux/stddef.h b/linux/src/include/linux/stddef.h
index c6221e7..488d49c 100644
--- a/linux/src/include/linux/stddef.h
+++ b/linux/src/include/linux/stddef.h
@@ -3,7 +3,7 @@
#ifndef _SIZE_T
#define _SIZE_T
-typedef unsigned int size_t;
+typedef unsigned long size_t;
#endif
#undef NULL