aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/FontNames.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/FontNames.c')
-rw-r--r--libX11/src/FontNames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/FontNames.c b/libX11/src/FontNames.c
index 764711559..c50de2eeb 100644
--- a/libX11/src/FontNames.c
+++ b/libX11/src/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;
}