From 198cac911ef7c141075c719029720df4cab6d463 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Wed, 25 Jan 2023 22:35:57 -0500 Subject: [PATCH] Casting. --- tests/cpp_unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp_unit.cpp b/tests/cpp_unit.cpp index 1ed6c60b2..139249c4b 100644 --- a/tests/cpp_unit.cpp +++ b/tests/cpp_unit.cpp @@ -1870,7 +1870,7 @@ DEFINE_TEST(test_cpp_remove_run_compression) { bool test64Deserialize(const std::string& filename) { std::ifstream in(TEST_DATA_DIR + filename, std::ios::binary); std::vector buf1(std::istreambuf_iterator(in), {}); - printf("Reading %lu bytes\n", buf1.size()); + printf("Reading %lu bytes\n", (unsigned long)buf1.size()); Roaring64Map roaring; #if ROARING_EXCEPTIONS try {