[dpdk-dev] [PATCH 2/3] app/test: Fix size_t printf formart issue

2015-03-05 Thread 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 formart "%zu" Signed-off-by: Michael Qiu --- app/test/test_hash.c | 2 +- 1 file

[dpdk-dev] [PATCH 2/3] app/test: Fix size_t printf formart issue

2015-03-05 Thread Bruce Richardson
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