David Rose 17 роки тому
батько
коміт
c4144a12ad
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      panda/src/downloader/httpChannel.cxx

+ 1 - 1
panda/src/downloader/httpChannel.cxx

@@ -2028,7 +2028,7 @@ run_begin_body() {
     // We have already "read" the nonexistent body.
     // We have already "read" the nonexistent body.
     _state = S_read_trailer;
     _state = S_read_trailer;
 
 
-  } else if (get_file_size() > _skip_body_size) {
+  } else if (get_file_size() > (int)_skip_body_size) {
     // If we know the size of the body we are about to skip and it's
     // If we know the size of the body we are about to skip and it's
     // too large, then don't bother skipping it--just drop the
     // too large, then don't bother skipping it--just drop the
     // connection and get a new one.
     // connection and get a new one.