summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-27 14:22:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-27 14:24:38 +0100
commitbc78e4fa0e3d3189e79da2d9e0c725f63ba02841 (patch)
tree00c6c6eb423c5fed2658b60e862a6eab38a226a9 /arch/nios2
parentbeffb2f71a8992ba466ab719d7998950652adbb7 (diff)
downloadbarebox-bc78e4fa0e3d3189e79da2d9e0c725f63ba02841.tar.gz
nios2: Use unsigned long for __kernel_size_t
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/asm/posix_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/include/asm/posix_types.h b/arch/nios2/include/asm/posix_types.h
index 12906b3..5a901ff 100644
--- a/arch/nios2/include/asm/posix_types.h
+++ b/arch/nios2/include/asm/posix_types.h
@@ -27,7 +27,7 @@ typedef int __kernel_pid_t;
typedef unsigned short __kernel_ipc_pid_t;
typedef unsigned short __kernel_uid_t;
typedef unsigned short __kernel_gid_t;
-typedef unsigned int __kernel_size_t;
+typedef unsigned long __kernel_size_t;
typedef int __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
typedef long __kernel_time_t;