summaryrefslogtreecommitdiff
path: root/src/replywait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/replywait.c')
-rw-r--r--src/replywait.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/replywait.c b/src/replywait.c
index d4cf898..b25c351 100644
--- a/src/replywait.c
+++ b/src/replywait.c
@@ -59,8 +59,7 @@ _IceAddReplyWait (
last = last->next;
}
- savedReplyWait = (_IceSavedReplyWait *) malloc (
- sizeof (_IceSavedReplyWait));
+ savedReplyWait = malloc (sizeof (_IceSavedReplyWait));
savedReplyWait->reply_wait = replyWait;
savedReplyWait->reply_ready = False;