aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/RegstFlt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/RegstFlt.c')
-rw-r--r--libX11/src/RegstFlt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/RegstFlt.c b/libX11/src/RegstFlt.c
index 5a1faa7e9..077ea424c 100644
--- a/libX11/src/RegstFlt.c
+++ b/libX11/src/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;
}