aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/SetFPath.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/SetFPath.c')
-rw-r--r--libX11/src/SetFPath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/SetFPath.c b/libX11/src/SetFPath.c
index 89955c23e..b1afd8201 100644
--- a/libX11/src/SetFPath.c
+++ b/libX11/src/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.
*/