On Mon, Jan 7, 2019 at 10:57 AM Jonathan Wakely <jwak...@redhat.com> wrote:
>
> On 20/12/18 17:23 -0500, Nicholas Krause wrote:
> >This fixes the bug id, 71176 to use the proper known
> >code print formatter type, %lu for size_t rather than
> >%d which is considered best pratice for print statements.
>
> Well the proper specifier for size_t is %zu, but since you cast to
> unsigned long then %lu is right.

Wouldn't the right fix be to not cast to unsigned long and use %zu?

Reply via email to