public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] nios2: use long for ssize_t
@ 2010-12-27  2:45 Thomas Chou
  2011-01-18 17:18 ` Scott McNutt
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Chou @ 2010-12-27  2:45 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/nios2/include/asm/posix_types.h |    2 +-
 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;
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] nios2: use long for ssize_t
  2010-12-27  2:45 [U-Boot] [PATCH] nios2: use long for ssize_t Thomas Chou
@ 2011-01-18 17:18 ` Scott McNutt
  0 siblings, 0 replies; 2+ messages in thread
From: Scott McNutt @ 2011-01-18 17:18 UTC (permalink / raw)
  To: u-boot

Added to: git://git.denx.de/u-boot-nios.git 'next'

Thank you,
--Scott



Thomas Chou wrote:
> 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>
> ---
>  arch/nios2/include/asm/posix_types.h |    2 +-
>  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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-18 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-27  2:45 [U-Boot] [PATCH] nios2: use long for ssize_t Thomas Chou
2011-01-18 17:18 ` Scott McNutt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox