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
HAH. Peter Anvin <hpa@zytor.com>
Date
Nov 23, 2005, 01:46 UTC
Message-ID
<4383CA08.4080604@zytor.com>
In-Reply-To
<118833cc0511221734r33b20f6au97fe2e93243f5ccf@mail.gmail.com>
Morten Welinder wrote:
Show 6 quoted lines
> 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
Previous: Morten WelinderNext: YOSHIFUJI Hideaki / 吉藤英明
Message 2 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.