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

@@ -93,7 +93,7 @@ void read_chunk_cb(struct evhttp_request* response, void* arg)
{
return;
}
int evbuf_len = evbuffer_get_length(evbuf);
size_t evbuf_len = evbuffer_get_length(evbuf);
char* data = (char*)evbuffer_pullup(evbuf, evbuf_len);
//printf("data is %s\n", data==NULL ? "NULL":"NOT NULL");
struct tfe_rpc_response_result* result = ALLOC(struct tfe_rpc_response_result, 1);