diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-08 22:31:41 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-08 22:31:41 -0700 |
commit | 9a74512ffdc1628f1b87d2191439915c63b9104f (patch) | |
tree | 8a58dec4a8604228908b09cdb69a286d89c271d2 /src/replywait.c | |
parent | 4033226105fa861ab5f0276850afc24c0fa45406 (diff) |
Stop casting return values from malloc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/replywait.c')
-rw-r--r-- | src/replywait.c | 3 |
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; |