aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/lcPubWrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xlibi18n/lcPubWrap.c')
-rw-r--r--libX11/src/xlibi18n/lcPubWrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/xlibi18n/lcPubWrap.c b/libX11/src/xlibi18n/lcPubWrap.c
index 2a5ac08d8..d1096d570 100644
--- a/libX11/src/xlibi18n/lcPubWrap.c
+++ b/libX11/src/xlibi18n/lcPubWrap.c
@@ -78,7 +78,7 @@ _XlcCreateLC(
return (XLCd) NULL;
if (lcd->core->name == NULL) {
- lcd->core->name = (char*) Xmalloc(strlen(name) + 1);
+ lcd->core->name = Xmalloc(strlen(name) + 1);
if (lcd->core->name == NULL)
goto err;
strcpy(lcd->core->name, name);