From 4033226105fa861ab5f0276850afc24c0fa45406 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 8 Aug 2013 22:17:27 -0700 Subject: Get rid of casts to (char *) in calls to free() 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 800f10b..d959264 100644 --- a/include/X11/ICE/ICEmsg.h +++ b/include/X11/ICE/ICEmsg.h @@ -255,7 +255,7 @@ extern IcePaAuthStatus _IcePaMagicCookie1Proc ( #define IceDisposeCompleteMessage(_iceConn, _pData) \ if ((char *) _pData < _iceConn->inbuf || \ (char *) _pData >= _iceConn->inbufmax) \ - free ((char *) _pData); + free (_pData); #define IceReadSimpleMessage(_iceConn, _msgType, _pMsg) \ -- cgit v1.2.3