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

2015-03-06 Thread Qiu, Michael
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

[dpdk-dev] [PATCH 2/3 v2] app/test: Fix size_t printf format 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 format "%zu" Signed-off-by: Michael Qiu --- v2 --> v1: typo fix of

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

2015-03-05 Thread Thomas Monjalon
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