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