aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/FreeEData.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/FreeEData.c')
-rw-r--r--nx-X11/lib/X11/FreeEData.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/FreeEData.c b/nx-X11/lib/X11/FreeEData.c
index 3a7abca74..ce78467d3 100644
--- a/nx-X11/lib/X11/FreeEData.c
+++ b/nx-X11/lib/X11/FreeEData.c
@@ -36,9 +36,9 @@ _XFreeExtData (XExtData *extension)
while (extension) {
if (extension->free_private)
(*extension->free_private)(extension);
- else Xfree ((char *)extension->private_data);
+ else Xfree (extension->private_data);
temp = extension->next;
- Xfree ((char *)extension);
+ Xfree (extension);
extension = temp;
}
return 0;