Skip to content

Commit 5421e27

Browse files
committed
Fix a compiler warning
1 parent fe07660 commit 5421e27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4260,7 +4260,8 @@ TEST_F(ServerTest, PutLargeFileWithGzip2) {
42604260
EXPECT_EQ(LARGE_DATA, res->body);
42614261
// The compressed size should be less than a 10th of the original. May vary
42624262
// depending on the zlib library.
4263-
EXPECT_LT(res.get_request_header_value_u64("Content-Length"), 10 * 1024 * 1024);
4263+
EXPECT_LT(res.get_request_header_value_u64("Content-Length"),
4264+
static_cast<uint64_t>(10 * 1024 * 1024));
42644265
EXPECT_EQ("gzip", res.get_request_header_value("Content-Encoding"));
42654266
}
42664267

0 commit comments

Comments
 (0)