Explorar o código

Fixed warning

Yuji Hirose %!s(int64=6) %!d(string=hai) anos
pai
achega
d064fb7ff2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

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