Browse Source

Fixed warning

Yuji Hirose 6 years ago
parent
commit
d064fb7ff2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -1399,7 +1399,7 @@ TEST_F(ServerTest, GetStreamedWithRangeMultipart) {
 }
 }
 
 
 TEST_F(ServerTest, GetStreamedEndless) {
 TEST_F(ServerTest, GetStreamedEndless) {
-  size_t offset = 0;
+  uint64_t offset = 0;
   auto res = cli_.Get("/streamed-cancel",
   auto res = cli_.Get("/streamed-cancel",
                       [&](const char * /*data*/, uint64_t data_length) {
                       [&](const char * /*data*/, uint64_t data_length) {
                         if (offset < 100) {
                         if (offset < 100) {