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 /include/X11/ICE/ICEmsg.h | |
parent | 4033226105fa861ab5f0276850afc24c0fa45406 (diff) |
Stop casting return values from malloc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/X11/ICE/ICEmsg.h')
-rw-r--r-- | include/X11/ICE/ICEmsg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/X11/ICE/ICEmsg.h b/include/X11/ICE/ICEmsg.h index d959264..2cb9112 100644 --- a/include/X11/ICE/ICEmsg.h +++ b/include/X11/ICE/ICEmsg.h @@ -244,7 +244,7 @@ extern IcePaAuthStatus _IcePaMagicCookie1Proc ( } \ else \ { \ - _pData = (char *) malloc ((unsigned) _bytes); \ + _pData = malloc (_bytes); \ if (_pData) \ _IceRead (_iceConn, _bytes, _pData); \ else \ |