summaryrefslogtreecommitdiff
path: root/src/CvtCache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CvtCache.c')
-rw-r--r--src/CvtCache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CvtCache.c b/src/CvtCache.c
index 921b51a..0b1941f 100644
--- a/src/CvtCache.c
+++ b/src/CvtCache.c
@@ -106,7 +106,7 @@ _XmuCCLookupDisplay(Display *dpy)
*/
e = XmuDQLookupDisplay (dq, dpy); /* see if it's there */
if (!e) { /* else create it */
- XmuCvtCache *c = (XmuCvtCache *) malloc (sizeof (XmuCvtCache));
+ XmuCvtCache *c = malloc (sizeof (XmuCvtCache));
if (!c) return NULL;
/*
@@ -114,7 +114,7 @@ _XmuCCLookupDisplay(Display *dpy)
*/
e = XmuDQAddDisplay (dq, dpy, (XPointer) c);
if (!e) {
- free ((char *) c);
+ free (c);
return NULL;
}