From 65a9fa59dcb442a23a8e01cdd1ee86d03f0b6957 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 2 Jun 2011 19:42:24 +0200 Subject: Remove unnecessary typecast --- lib/cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/cookie.c') diff --git a/lib/cookie.c b/lib/cookie.c index 7928be7dc..301beaee7 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -877,7 +877,7 @@ struct Cookie *Curl_cookie_getlist(struct CookieInfo *c, size_t i; /* alloc an array and store all cookie pointers */ - array = (struct Cookie **)malloc(sizeof(struct Cookie *) * matches); + array = malloc(sizeof(struct Cookie *) * matches); if(!array) goto fail; -- cgit v1.2.3