public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott McNutt <smcnutt@psyent.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nios2: use long for ssize_t
Date: Tue, 18 Jan 2011 12:18:47 -0500	[thread overview]
Message-ID: <4D35CB77.2010805@psyent.com> (raw)
In-Reply-To: <1293417934-8214-1-git-send-email-thomas@wytron.com.tw>

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;

      reply	other threads:[~2011-01-18 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  2:45 [U-Boot] [PATCH] nios2: use long for ssize_t Thomas Chou
2011-01-18 17:18 ` Scott McNutt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D35CB77.2010805@psyent.com \
    --to=smcnutt@psyent.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox