Re: pack-redundant.c:689: warning: long unsigned int format, size_t arg (arg 3)
In article <4383CA08.4080604@zytor.com> (at Tue, 22 Nov 2005 17:46:48 -0800), "H. Peter Anvin" <hpa@zytor.com> says:
Show 9 quoted lines
> Morten Welinder wrote:
> > 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.
It is not widely supported, I think.
--yoshfuji