git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)

From
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Date
Nov 23, 2005, 00:49 UTC
Message-ID
<20051123.094959.53535561.yoshfuji@linux-ipv6.org>
In-Reply-To
<4383CA08.4080604@zytor.com>
In article <4383CA08.4080604@zytor.com> (at Tue, 22 Nov 2005 17:46:48 -0800), "H. Peter Anvin" <hpa@zytor.com> says:
Show 9 quoted lines
> 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
Previous: H. Peter Anvin
Message 3 of 3 in “pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)”
  1. Morten WelinderNov 23, 2005
  2. H. Peter AnvinNov 23, 2005
  3. YOSHIFUJI Hideaki / 吉藤英明Nov 23, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.