aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xcms/IdOfPr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xcms/IdOfPr.c')
-rw-r--r--libX11/src/xcms/IdOfPr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/xcms/IdOfPr.c b/libX11/src/xcms/IdOfPr.c
index 3a92e0a11..e15f34fec 100644
--- a/libX11/src/xcms/IdOfPr.c
+++ b/libX11/src/xcms/IdOfPr.c
@@ -67,7 +67,7 @@ XcmsFormatOfPrefix(char *prefix)
* While copying prefix to string_lowered, convert to lowercase
*/
if ((len = strlen(prefix)) >= sizeof(string_buf)) {
- string_lowered = (char *) Xmalloc(len+1);
+ string_lowered = Xmalloc(len+1);
} else {
string_lowered = string_buf;
}