On 3/6/2015 1:28 AM, Thomas Monjalon wrote:
> 2015-03-05 22:00, Michael Qiu:
>> 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 sho
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 format "%zu"
Signed-off-by: Michael Qiu
---
v2 --> v1:
typo fix of "forma
2015-03-05 22:00, Michael Qiu:
> 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 format "%zu"
>
> Signed-off-by: Michael Q
3 matches
Mail list logo