aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xnest/Font.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xnest/Font.c')
-rw-r--r--xorg-server/hw/xnest/Font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xnest/Font.c b/xorg-server/hw/xnest/Font.c
index 26faf1633..7b388f0f4 100644
--- a/xorg-server/hw/xnest/Font.c
+++ b/xorg-server/hw/xnest/Font.c
@@ -40,7 +40,7 @@ xnestRealizeFont(ScreenPtr pScreen, FontPtr pFont)
int nprops;
FontPropPtr props;
int i;
- char *name;
+ const char *name;
FontSetPrivate(pFont, xnestFontPrivateIndex, NULL);
@@ -58,7 +58,7 @@ xnestRealizeFont(ScreenPtr pScreen, FontPtr pFont)
if (!value_atom) return False;
- name = (char *)NameForAtom(value_atom);
+ name = NameForAtom(value_atom);
if (!name) return False;