git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Re: pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)
  2005-11-23  1:46 ` H. Peter Anvin
@ 2005-11-23  0:49   ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 0 replies; 3+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2005-11-23  0:49 UTC (permalink / raw
  To: hpa; +Cc: mwelinder, git, yoshfuji

In article <4383CA08.4080604@zytor.com> (at Tue, 22 Nov 2005 17:46:48 -0800), "H. Peter Anvin" <hpa@zytor.com> says:

> 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.

It is not widely supported, I think.

--yoshfuji

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

* pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)
@ 2005-11-23  1:34 Morten Welinder
  2005-11-23  1:46 ` H. Peter Anvin
  0 siblings, 1 reply; 3+ messages in thread
From: Morten Welinder @ 2005-11-23  1:34 UTC (permalink / raw
  To: GIT Mailing List

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)

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

* Re: pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)
  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
  2005-11-23  0:49   ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 3+ messages in thread
From: H. Peter Anvin @ 2005-11-23  1:46 UTC (permalink / raw
  To: Morten Welinder; +Cc: GIT Mailing List

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

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

end of thread, other threads:[~2005-11-23  1:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-11-23  0:49   ` YOSHIFUJI Hideaki / 吉藤英明

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).