bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warnings in some test files


From: Simon Josefsson
Subject: Re: warnings in some test files
Date: Mon, 19 Mar 2007 11:09:13 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Hi Simon,
>
> Got these gcc warnings:
>
> test-crc.c:37: warning: long unsigned int format, unsigned int arg (arg 2)
> test-crc.c:44: warning: long unsigned int format, unsigned int arg (arg 2)
> test-crc.c:51: warning: long unsigned int format, unsigned int arg (arg 2)
> test-crc.c:58: warning: long unsigned int format, unsigned int arg (arg 2)
> test-gc-pbkdf2-sha1.c:98: warning: int format, size_t arg (arg 2)
> test-gc-pbkdf2-sha1.c:104: warning: int format, size_t arg (arg 2)
> test-getaddrinfo.c:53: warning: int format, size_t arg (arg 2)
> test-read-file.c:45: warning: int format, size_t arg (arg 2)
> test-read-file.c:60: warning: int format, size_t arg (arg 2)
>
> Fixing them like this:
>
> 2007-03-17  Bruno Haible  <address@hidden>
>
>       * tests/test-crc.c (main): Make printf statements 64-bit clean.
>       * tests/test-gc-pbkdf2-sha1.c (main): Likewise.
>       * tests/test-getaddrinfo.c (simple): Likewise.
>       * tests/test-read-file.c (main): Likewise.

Looks good, please install!

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]