remove unnecessary typecasting of malloc()

This commit is contained in:
Yang Tse
2008-09-06 05:29:05 +00:00
parent a622fd90b4
commit 59e378f48f
31 changed files with 68 additions and 72 deletions

View File

@@ -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