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

@@ -1427,7 +1427,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
}
/* now add a node to the Curl_message linked list with this info */
msg = (struct Curl_message *)malloc(sizeof(struct Curl_message));
msg = malloc(sizeof(struct Curl_message));
if(!msg)
return CURLM_OUT_OF_MEMORY;