aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/RegstFlt.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/RegstFlt.c')
-rw-r--r--nx-X11/lib/X11/RegstFlt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/RegstFlt.c b/nx-X11/lib/X11/RegstFlt.c
index 5a1faa7e9..077ea424c 100644
--- a/nx-X11/lib/X11/RegstFlt.c
+++ b/nx-X11/lib/X11/RegstFlt.c
@@ -66,7 +66,7 @@ _XFreeIMFilters(
while ((fl = display->im_filters)) {
display->im_filters = fl->next;
- Xfree((char *)fl);
+ Xfree(fl);
}
}
@@ -148,7 +148,7 @@ _XUnregisterFilter(
if (fl->window == window &&
fl->filter == filter && fl->client_data == client_data) {
*prev = fl->next;
- Xfree((char *)fl);
+ Xfree(fl);
} else
prev = &fl->next;
}