summaryrefslogtreecommitdiff
path: root/lib/splay.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/splay.c')
-rw-r--r--lib/splay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/splay.c b/lib/splay.c
index c64ccdaea..de49af0d9 100644
--- a/lib/splay.c
+++ b/lib/splay.c
@@ -394,7 +394,7 @@ int main(int argc, argv_item_t argv[])
for (i = 0; i < MAX; i++) {
struct timeval key;
- ptrs[i] = t = (struct Curl_tree *)malloc(sizeof(struct Curl_tree));
+ ptrs[i] = t = malloc(sizeof(struct Curl_tree));
key.tv_sec = 0;
#ifdef TEST2