aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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;