summaryrefslogtreecommitdiff
path: root/lib/libX11/modules/lc/def/lcDefConv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/modules/lc/def/lcDefConv.c')
-rw-r--r--lib/libX11/modules/lc/def/lcDefConv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libX11/modules/lc/def/lcDefConv.c b/lib/libX11/modules/lc/def/lcDefConv.c
index 12a48615e..3cd5c22c9 100644
--- a/lib/libX11/modules/lc/def/lcDefConv.c
+++ b/lib/libX11/modules/lc/def/lcDefConv.c
@@ -564,9 +564,9 @@ close_converter(
XlcConv conv)
{
if (conv->state)
- Xfree((char *) conv->state);
+ Xfree(conv->state);
- Xfree((char *) conv);
+ Xfree(conv);
}
static XlcConv
@@ -577,11 +577,11 @@ create_conv(
XlcConv conv;
State state;
- conv = (XlcConv) Xcalloc(1, sizeof(XlcConvRec));
+ conv = Xcalloc(1, sizeof(XlcConvRec));
if (conv == NULL)
return (XlcConv) NULL;
- state = (State) Xmalloc(sizeof(StateRec));
+ state = Xmalloc(sizeof(StateRec));
if (state == NULL) {
close_converter(conv);
return (XlcConv) NULL;