test_hash.c: In function ?test_crc32_hash_alg_equiv?:
error: format ?%lu? expects argument of type ?long unsigned int?,
but argument 2 has type ?size_t? [-Werror=format]
According to C99, for size_t type should use formart "%zu"
Signed-off-by: Michael Qiu
---
app/test/test_hash.c | 2 +-
1 file
On Thu, Mar 05, 2015 at 09:15:38PM +0800, Michael Qiu wrote:
> test_hash.c: In function ?test_crc32_hash_alg_equiv?:
> error: format ?%lu? expects argument of type ?long unsigned int?,
> but argument 2 has type ?size_t? [-Werror=format]
>
> According to C99, for size_t type should use formart "%zu
2 matches
Mail list logo