From 5421e2710608055ebbd02a42115e892cbe898748 Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 28 Nov 2024 20:37:39 -0500 Subject: [PATCH] Fix a compiler warning --- test/test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.cc b/test/test.cc index 6ce6c8cb48..d2a30783e7 100644 --- a/test/test.cc +++ b/test/test.cc @@ -4260,7 +4260,8 @@ TEST_F(ServerTest, PutLargeFileWithGzip2) { EXPECT_EQ(LARGE_DATA, res->body); // The compressed size should be less than a 10th of the original. May vary // depending on the zlib library. - EXPECT_LT(res.get_request_header_value_u64("Content-Length"), 10 * 1024 * 1024); + EXPECT_LT(res.get_request_header_value_u64("Content-Length"), + static_cast(10 * 1024 * 1024)); EXPECT_EQ("gzip", res.get_request_header_value("Content-Encoding")); }