Make usage of calloc()'s arguments consistent with rest of code base

This commit is contained in:
Yang Tse
2009-11-18 10:33:54 +00:00
parent 961c504ca5
commit 59939313f8
19 changed files with 25 additions and 25 deletions

View File

@@ -1966,7 +1966,7 @@ static int init_certinfo(struct SessionHandle *data,
Curl_ssl_free_certinfo(data);
ci->num_of_certs = num;
table = calloc(sizeof(struct curl_slist *) * num, 1);
table = calloc((size_t)num, sizeof(struct curl_slist *));
if(!table)
return 1;