git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Morten Welinder <mwelinder@gmail.com>
Cc: GIT Mailing List <git@vger.kernel.org>
Subject: Re: pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)
Date: Tue, 22 Nov 2005 17:46:48 -0800	[thread overview]
Message-ID: <4383CA08.4080604@zytor.com> (raw)
In-Reply-To: <118833cc0511221734r33b20f6au97fe2e93243f5ccf@mail.gmail.com>

Morten Welinder wrote:
> Maybe cast the size to unsigned long to make it match the format.
> 
> M.
> 
> pack-redundant.c: In function `main':
> pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)

Or use %zu for the format.

	-hpa

  reply	other threads:[~2005-11-23  1:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23  1:34 pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3) Morten Welinder
2005-11-23  1:46 ` H. Peter Anvin [this message]
2005-11-23  0:49   ` YOSHIFUJI Hideaki / 吉藤英明

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=4383CA08.4080604@zytor.com \
    --to=hpa@zytor.com \
    --cc=git@vger.kernel.org \
    --cc=mwelinder@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).