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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/SetFPath.c b/nx-X11/lib/X11/SetFPath.c
index 89955c23e..60aaef01e 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.
*/
@@ -65,7 +65,7 @@ XSetFontPath (
p += length + 1;
}
Data (dpy, tmp, nbytes);
- Xfree ((char *) tmp);
+ Xfree (tmp);
retCode = 1;
}
else