From 861b647e7b1da564b831a5b07312a30feb7b6c58 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 6 Sep 2008 04:28:43 +0000 Subject: remove unnecessary typecasting of realloc() --- lib/http_digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http_digest.c') 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"); -- cgit v1.2.3