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() --- docs/examples/curlx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/curlx.c') diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c index bd192865f..521812b9a 100644 --- a/docs/examples/curlx.c +++ b/docs/examples/curlx.c @@ -469,7 +469,7 @@ int main(int argc, char **argv) { i+=lu; if (i== tabLength) { tabLength+=100; - binaryptr=(char*)realloc(binaryptr,tabLength); /* should be more careful */ + binaryptr=realloc(binaryptr,tabLength); /* should be more careful */ } } tabLength = i; -- cgit v1.2.3