Compiling with MSVC logs the warnings below, which result in build error: ../app/test/test_hash_readwrite.c(73): warning C4476: 'printf' : unknown type field character ''' in format specifier ../app/test/test_hash_readwrite.c(75): warning C4474: 'printf' : too many arguments passed for format string ../app/test/test_hash_readwrite.c(75): note: placeholders and their parameters expect 2 variadic arguments, but 4 were provided
Signed-off-by: Andre Muezerie <andre...@linux.microsoft.com> --- app/test/test_hash_readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_hash_readwrite.c b/app/test/test_hash_readwrite.c index 1867376ade..dc07df709a 100644 --- a/app/test/test_hash_readwrite.c +++ b/app/test/test_hash_readwrite.c @@ -70,7 +70,7 @@ test_hash_readwrite_worker(__rte_unused void *arg) } offset = tbl_rw_test_param.num_insert * i; - printf("Core #%d inserting and reading %d: %'"PRId64" - %'"PRId64"\n", + printf("Core #%d inserting and reading %d: %" PRId64 " - %" PRId64 "\n", lcore_id, tbl_rw_test_param.num_insert, offset, offset + tbl_rw_test_param.num_insert - 1); -- 2.48.1.vfs.0.0