From 9a74512ffdc1628f1b87d2191439915c63b9104f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 8 Aug 2013 22:31:41 -0700 Subject: Stop casting return values from malloc Signed-off-by: Alan Coopersmith --- include/X11/ICE/ICEmsg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 \ -- cgit v1.2.3