[dpdk-dev] [PATCH 2/3 v2] app/test: Fix size_t printf format issue
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Mar 5 18:27:23 CET 2015
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 Qiu <michael.qiu at intel.com>
You forgot to add the previous acknowledgement from Bruce.
More information about the dev
mailing list