aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/curlx.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 04:28:43 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 04:28:43 +0000
commit861b647e7b1da564b831a5b07312a30feb7b6c58 (patch)
tree0bf8f137e7db222deefccc94fe3a22eecadba7d8 /docs/examples/curlx.c
parent70e57dad8856c2b99d947344661ae260c6fff594 (diff)
remove unnecessary typecasting of realloc()
Diffstat (limited to 'docs/examples/curlx.c')
-rw-r--r--docs/examples/curlx.c2
1 files changed, 1 insertions, 1 deletions
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;