Re: [tig PATCH] Fix integer type mismatch on 64-bit systems
To
Steven Grimm
Cc
git@vger.kernel.org
From
Jonas Fonseca
See Also
Prev
Date
2007-06-04 06:47:34 UTC
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