aboutsummaryrefslogtreecommitdiff
path: root/lib/http_digest.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 05:29:05 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 05:29:05 +0000
commit59e378f48fed849e8e41f0bc6a10bf7a1732ae8a (patch)
tree2443ceace655d5d830c7c4d7c95869c6a0f93c5c /lib/http_digest.c
parenta622fd90b4c563a4fced20c5b88cb57537e809b0 (diff)
remove unnecessary typecasting of malloc()
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r--lib/http_digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index a3c2ad7d7..81e8612a7 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -320,7 +320,7 @@ CURLcode Curl_output_digest(struct connectdata *conn,
Curl_md5it(md5buf, md5this);
free(md5this); /* free this again */
- ha1 = (unsigned char *)malloc(33); /* 32 digits and 1 zero byte */
+ ha1 = malloc(33); /* 32 digits and 1 zero byte */
if(!ha1)
return CURLE_OUT_OF_MEMORY;