Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> (I wish there was a PRI macro for size_t types...)
>
> According to ISO C 99, you can use "%zu" to print a size_t value. But it's
> not portable enough, and it'd be overkill to activate the printf replacement
> just for the tests
Simon Josefsson wrote:
> (I wish there was a PRI macro for size_t types...)
According to ISO C 99, you can use "%zu" to print a size_t value. But it's
not portable enough, and it'd be overkill to activate the printf replacement
just for the tests.
Bruno
Simon Josefsson <[EMAIL PROTECTED]> writes:
> Hi Bruno. Thanks for finding these. For some reason, I can't reproduce
> the warnings even with -Wall (gcc 4.2.3). But the warnings seems
> correct. Patch below pushed.
I was able to reproduce the warnings... and found a silly typo. I've
pushed t
Bruno Haible <[EMAIL PROTECTED]> writes:
> Hi Simon,
>
> While testing the coreutils-6.11.104-00a30 coreutils snapshot on
> MacOS X 10.5, I got these warnings:
>
> test-base64.c: In function 'main':
> test-base64.c:121: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
>
Hi Simon,
While testing the coreutils-6.11.104-00a30 coreutils snapshot on
MacOS X 10.5, I got these warnings:
test-base64.c: In function 'main':
test-base64.c:121: warning: format '%d' expects type 'int', but argument 3 has
type 'size_t'
test-base64.c:131: warning: format '%d' expects type 'int