change int to size_t

This commit is contained in:
崔一鸣
2018-09-13 20:25:12 +08:00
committed by zhengchao
parent e89ac9d9da
commit c1f8edb75f
3 changed files with 3 additions and 3 deletions

View File

@@ -352,7 +352,7 @@ static void certstore_rpc_on_succ(void* result, void* user)
int status_code = response->status_code;
const char* status_msg = response->status_msg;
char* data = response->data;
int len = response->len;
size_t len = response->len;
if(status_code == HTTP_OK)
{
*(data+len) = '\0';