summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xcms/IdOfPr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/xcms/IdOfPr.c')
-rw-r--r--lib/libX11/src/xcms/IdOfPr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xcms/IdOfPr.c b/lib/libX11/src/xcms/IdOfPr.c
index 3a92e0a11..e15f34fec 100644
--- a/lib/libX11/src/xcms/IdOfPr.c
+++ b/lib/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;
}