aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/FontNames.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/FontNames.c')
-rw-r--r--nx-X11/lib/X11/FontNames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/FontNames.c b/nx-X11/lib/X11/FontNames.c
index 764711559..c50de2eeb 100644
--- a/nx-X11/lib/X11/FontNames.c
+++ b/nx-X11/lib/X11/FontNames.c
@@ -73,7 +73,7 @@ int *actualCount) /* RETURN */
}
if ((! flist) || (! ch)) {
- if (flist) Xfree((char *) flist);
+ if (flist) Xfree(flist);
if (ch) Xfree(ch);
_XEatDataWords(dpy, rep.length);
*actualCount = 0;
@@ -116,7 +116,7 @@ XFreeFontNames(char **list)
Xfree (*names);
}
Xfree (list[0]-1);
- Xfree ((char *)list);
+ Xfree (list);
}
return 1;
}