diff options
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | test/test_btree.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 6e42dda..90c27cf 100644 --- a/meson.build +++ b/meson.build @@ -114,7 +114,6 @@ elif cc.get_id() == 'msvc' '/wd4514', # unreferenced inline function has been removed '/wd4710', # function not inlined '/wd4711', # function selected for automatic inline expansion - '/wd4777', # format string and argument mismatch '/wd4800', # implicit conversion to bool '/wd4820', # padding added after construct '/wd5045', # will insert Spectre mitigation for memory load diff --git a/test/test_btree.c b/test/test_btree.c index 7fd73bc..9694a7b 100644 --- a/test/test_btree.c +++ b/test/test_btree.c @@ -632,7 +632,7 @@ main(int argc, char** argv) const size_t n_elems = (argc > 1) ? zix_test_size_arg(argv[1], 4U, 1U << 20U) : 131072U; - printf("Running %u tests with %" PRIuPTR " elements", n_tests, n_elems); + printf("Running %u tests with %zu elements", n_tests, n_elems); for (unsigned i = 0; i < n_tests; ++i) { printf("."); fflush(stdout); |