[PATCH 2/2] Cast cnt to int to stop gcc from complaining.

Kay Sievers kay.sievers at vrfy.org
Mon Jun 14 01:35:28 PDT 2010


On Mon, Jun 14, 2010 at 10:23, Richard Hughes <hughsient at gmail.com> wrote:
> On 14 June 2010 09:20, Kay Sievers <kay.sievers at vrfy.org> wrote:
>> On Mon, Jun 14, 2010 at 09:56, Richard Hughes <hughsient at gmail.com> wrote:
>>> On 14 June 2010 03:07, Victor Lowther <victor.lowther at gmail.com> wrote:
>>>> GCC was complaining about int and ssize_t being differnt types.
>>>> Make it quit doing that.
>>>
>>> Applied, thanks.
>>
>> You would better use %zi instead.
>
> Is there a huge list of types to formatter names? I'm sure I'm getting
> it wrong in other projects too.

man 3 printf ?

Kay


More information about the devkit-devel mailing list