summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xftglyphs.c2
-rw-r--r--src/xftinit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index 8e0d247..e0cfdea 100644
--- a/src/xftglyphs.c
+++ b/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/src/xftinit.c b/src/xftinit.c
index 43efc00..0205e4b 100644
--- a/src/xftinit.c
+++ b/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;