summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-08 22:17:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-08 22:20:26 -0700
commit4033226105fa861ab5f0276850afc24c0fa45406 (patch)
treeb1fa733e7b192caed635d3a181b06b95d58f5711 /include
parent10c30ae6a7df1a7c352a1d611a313dffcaa42082 (diff)
Get rid of casts to (char *) in calls to free()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/X11/ICE/ICEmsg.h2
1 files changed, 1 insertions, 1 deletions
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) \