summaryrefslogtreecommitdiff
path: root/src/ping.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-08 22:31:41 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-08 22:31:41 -0700
commit9a74512ffdc1628f1b87d2191439915c63b9104f (patch)
tree8a58dec4a8604228908b09cdb69a286d89c271d2 /src/ping.c
parent4033226105fa861ab5f0276850afc24c0fa45406 (diff)
Stop casting return values from malloc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/ping.c')
-rw-r--r--src/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ping.c b/src/ping.c
index 93d82de..9cb5394 100644
--- a/src/ping.c
+++ b/src/ping.c
@@ -39,7 +39,7 @@ IcePing (
IcePointer clientData
)
{
- _IcePingWait *newping = (_IcePingWait *) malloc (sizeof (_IcePingWait));
+ _IcePingWait *newping = malloc (sizeof (_IcePingWait));
_IcePingWait *ptr = iceConn->ping_waits;
if (newping == NULL)