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

Re: [tig PATCH] Fix integer type mismatch on 64-bit systems

From
Jonas Fonseca <jonas.fonseca@gmail.com>
Date
Jun 4, 2007, 06:47 UTC
Message-ID
<2c6b72b30706032347m6a67fcf7h6b56c1d1078c1ffd@mail.gmail.com>
In-Reply-To
<20070603211206.GA16445@midwinter.com>
On 6/3/07, Steven Grimm <koreth@midwinter.com> wrote:
> fprintf wants an int parameter for the field width of a "%.*s" expression, but
> the code was passing a size_t instead. This potentially broke systems where
> sizeof(size_t) != sizeof(int). And even on systems where it did't break,
> it still caused a compiler warning.
Thanks, I also fixed another such occurrence.
BTW, in good git spirit you are encouraged to sign off your patches. :)
-- 
Jonas Fonseca
Previous: Steven Grimm
Message 2 of 2 in “Fix integer type mismatch on 64-bit systems”
  1. Fix integer type mismatch on 64-bit systemsSteven Grimm, Jun 3, 2007
  2. Jonas FonsecaJun 4, 2007

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.