Browse Source

Fix warning

yhirose 1 year ago
parent
commit
913314f1b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -7698,7 +7698,7 @@ TEST(Expect100ContinueTest, ServerClosesConnection) {
       auto dl = curl_off_t{};
       auto dl = curl_off_t{};
       const auto res = curl_easy_getinfo(curl.get(), CURLINFO_SIZE_DOWNLOAD_T, &dl);
       const auto res = curl_easy_getinfo(curl.get(), CURLINFO_SIZE_DOWNLOAD_T, &dl);
       ASSERT_EQ(res, CURLE_OK);
       ASSERT_EQ(res, CURLE_OK);
-      ASSERT_EQ(dl, sizeof reject - 1);
+      ASSERT_EQ(dl, (curl_off_t)sizeof reject - 1);
     }
     }
 
 
     {
     {