mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:13:31 +03:00
remove unnecessary typecasting of malloc()
This commit is contained in:
parent
a622fd90b4
commit
59e378f48f
31 changed files with 68 additions and 72 deletions
|
|
@ -394,7 +394,7 @@ int main(int argc, argv_item_t argv[])
|
|||
|
||||
for (i = 0; i < MAX; i++) {
|
||||
struct timeval key;
|
||||
ptrs[i] = t = (struct Curl_tree *)malloc(sizeof(struct Curl_tree));
|
||||
ptrs[i] = t = malloc(sizeof(struct Curl_tree));
|
||||
|
||||
key.tv_sec = 0;
|
||||
#ifdef TEST2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue