diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:28:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:28:43 +0000 |
commit | 861b647e7b1da564b831a5b07312a30feb7b6c58 (patch) | |
tree | 0bf8f137e7db222deefccc94fe3a22eecadba7d8 /lib/http_digest.c | |
parent | 70e57dad8856c2b99d947344661ae260c6fff594 (diff) |
remove unnecessary typecasting of realloc()
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r-- | lib/http_digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c index ddeb93747..a3c2ad7d7 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -460,7 +460,7 @@ CURLcode Curl_output_digest(struct connectdata *conn, } /* append CRLF to the userpwd header */ - tmp = (char*) realloc(*allocuserpwd, strlen(*allocuserpwd) + 3 + 1); + tmp = realloc(*allocuserpwd, strlen(*allocuserpwd) + 3 + 1); if(!tmp) return CURLE_OUT_OF_MEMORY; strcat(tmp, "\r\n"); |