Procházet zdrojové kódy

Merge pull request #87 from mysterywolf/master

消除编译警告
xiangxistu před 4 roky
rodič
revize
2e13f18cc9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/webclient.c

+ 1 - 1
src/webclient.c

@@ -1054,7 +1054,7 @@ int webclient_shard_position_function(struct webclient_session *session, const c
     int rc = WEBCLIENT_OK;
     int result = RT_EOK;
     int resp_status = 0;
-    int resp_len = 0;
+    size_t resp_len = 0;
     char *buffer = RT_NULL;
     int start_position, end_position = 0;
     int total_len = 0;