aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 05:29:05 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 05:29:05 +0000
commit59e378f48fed849e8e41f0bc6a10bf7a1732ae8a (patch)
tree2443ceace655d5d830c7c4d7c95869c6a0f93c5c /tests/server
parenta622fd90b4c563a4fced20c5b88cb57537e809b0 (diff)
remove unnecessary typecasting of malloc()
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/getpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/getpart.c b/tests/server/getpart.c
index 72a6d0f6d..d32f480d2 100644
--- a/tests/server/getpart.c
+++ b/tests/server/getpart.c
@@ -122,7 +122,7 @@ const char *spitout(FILE *stream,
STATE_ILLEGAL
} state = STATE_OUTSIDE;
- string = (char *)malloc(stralloc);
+ string = malloc(stralloc);
if(!string)
return NULL;