From 873965b49f283ad028dd4e0e5b7e93a758c84993 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 26 Sep 2011 17:04:30 +0200 Subject: fontconfig libX11 libXext libXft libXmu mesa git update 26 sep 2011 --- libXft/src/xftglyphs.c | 2 +- libXft/src/xftinit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libXft/src') diff --git a/libXft/src/xftglyphs.c b/libXft/src/xftglyphs.c index 8e0d247a0..e0cfdea8a 100644 --- a/libXft/src/xftglyphs.c +++ b/libXft/src/xftglyphs.c @@ -428,7 +428,7 @@ XftFontLoadGlyphs (Display *dpy, { if (font->info.antialias) { - static char den[] = { " .:;=+*#" }; + static const char den[] = { " .:;=+*#" }; for (x = 0; x < pitch; x++) printf ("%c", den[line[x] >> 5]); } diff --git a/libXft/src/xftinit.c b/libXft/src/xftinit.c index 43efc00e1..0205e4b36 100644 --- a/libXft/src/xftinit.c +++ b/libXft/src/xftinit.c @@ -58,7 +58,7 @@ static struct { static int XftAllocCount, XftAllocMem; static int XftFreeCount, XftFreeMem; -static int XftMemNotice = 1*1024*1024; +static const int XftMemNotice = 1*1024*1024; static int XftAllocNotify, XftFreeNotify; -- cgit v1.2.3