summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-12-27 10:45:34 +0800
committerScott McNutt <smcnutt@psyent.com>2011-02-08 08:29:53 -0500
commit85debefaf2d3d0dea800fa84bfe0e9823bc03d89 (patch)
tree4495c759cb2fbfdcc60a3d2fc191f5f0cd0a7e8d
parentdf8f1252612b641bc2697163576902f9927d4af3 (diff)
downloadu-boot-imx-85debefaf2d3d0dea800fa84bfe0e9823bc03d89.zip
u-boot-imx-85debefaf2d3d0dea800fa84bfe0e9823bc03d89.tar.gz
u-boot-imx-85debefaf2d3d0dea800fa84bfe0e9823bc03d89.tar.bz2
nios2: use long for ssize_t
This is consistent with nios2-linux. And resolved the warning, cmd_nvedit.c: In function `do_env_export': cmd_nvedit.c:660: warning: size_t format, ssize_t arg (arg 3) Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
-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 c2deea6..6733640 100644
--- a/arch/nios2/include/asm/posix_types.h
+++ b/arch/nios2/include/asm/posix_types.h
@@ -17,7 +17,7 @@ typedef unsigned short __kernel_ipc_pid_t;
typedef unsigned short __kernel_uid_t;
typedef unsigned short __kernel_gid_t;
typedef unsigned long __kernel_size_t;
-typedef int __kernel_ssize_t;
+typedef long __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
typedef long __kernel_time_t;
typedef long __kernel_suseconds_t;