summaryrefslogtreecommitdiff
path: root/do_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'do_windows.c')
-rw-r--r--do_windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/do_windows.c b/do_windows.c
index 386be6a..490b290 100644
--- a/do_windows.c
+++ b/do_windows.c
@@ -57,8 +57,8 @@ CreateParents(XParms xp, Parms p, int64_t reps)
/* We will do parentwindows sets of childwindows, in order to get better
timing accuracy. Creating 4 windows at a millisecond apiece or so
is a bit faster than the 60 Hz clock. */
- isolates = (Window *)malloc(parentwindows * sizeof(Window));
- parents = (Window *)malloc(parentwindows * sizeof(Window));
+ isolates = malloc(parentwindows * sizeof(Window));
+ parents = malloc(parentwindows * sizeof(Window));
/*
* Create isolation windows for the parents, and then the parents