diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:47:14 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:47:14 +0000 |
commit | a622fd90b4c563a4fced20c5b88cb57537e809b0 (patch) | |
tree | b0b3c28505d41d062f7828c0d1e13e3aa9a351a8 /src | |
parent | 861b647e7b1da564b831a5b07312a30feb7b6c58 (diff) |
remove unnecessary typecasting of calloc()
Diffstat (limited to 'src')
-rw-r--r-- | src/urlglob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlglob.c b/src/urlglob.c index e2fc37775..f1223f793 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -341,7 +341,7 @@ int glob_url(URLGlob** glob, char* url, int *urlnum, FILE *error) if(NULL == glob_buffer) return CURLE_OUT_OF_MEMORY; - glob_expand = (URLGlob*)calloc(sizeof(URLGlob), 1); + glob_expand = calloc(sizeof(URLGlob), 1); if(NULL == glob_expand) { free(glob_buffer); return CURLE_OUT_OF_MEMORY; |