summaryrefslogtreecommitdiff
path: root/src/extutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/extutil.c')
-rw-r--r--src/extutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extutil.c b/src/extutil.c
index 26f90b2..a65322a 100644
--- a/src/extutil.c
+++ b/src/extutil.c
@@ -82,7 +82,7 @@ void XextDestroyExtension (XExtensionInfo *info)
info->head = NULL; /* to catch refs after this */
info->cur = NULL;
info->ndisplays = 0;
- XFree ((char *) info);
+ XFree (info);
}
@@ -202,7 +202,7 @@ int XextRemoveDisplay (XExtensionInfo *extinfo, Display *dpy)
if (dpyinfo == extinfo->cur) extinfo->cur = NULL; /* flush cache */
_XUnlockMutex(_Xglobal_lock);
- Xfree ((char *) dpyinfo);
+ Xfree (dpyinfo);
return 1;
}