aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/SetFPath.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/SetFPath.c')
-rw-r--r--nx-X11/lib/X11/SetFPath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/SetFPath.c b/nx-X11/lib/X11/SetFPath.c
index 89955c23e..b1afd8201 100644
--- a/nx-X11/lib/X11/SetFPath.c
+++ b/nx-X11/lib/X11/SetFPath.c
@@ -52,7 +52,7 @@ XSetFontPath (
}
nbytes = (n + 3) & ~3;
req->length += nbytes >> 2;
- if ((p = (char *) Xmalloc ((unsigned) nbytes))) {
+ if ((p = Xmalloc (nbytes))) {
/*
* pack into counted strings.
*/