summaryrefslogtreecommitdiff
path: root/src/Quarks.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-11 00:07:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-20 12:51:09 -0700
commitbf3501e0395abe890acfea98fdd9f50a6966f118 (patch)
tree7c44fa106df77e7fc6044d69838906e82d841383 /src/Quarks.c
parent6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 (diff)
downloadxorg-lib-libX11-bf3501e0395abe890acfea98fdd9f50a6966f118.tar.gz
Remove unnecessary casts of pointers to (char *) in calls to Xfree()
Left one cast behind that is necessary to change from const char * to char * in src/xlibi18n/lcCharSet.c. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Quarks.c')
-rw-r--r--src/Quarks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Quarks.c b/src/Quarks.c
index 60fe127b..cfdfe07a 100644
--- a/src/Quarks.c
+++ b/src/Quarks.c
@@ -230,7 +230,7 @@ ExpandQuarkTable(void)
}
}
if (oldmask)
- Xfree((char *)oldentries);
+ Xfree(oldentries);
return True;
}