summaryrefslogtreecommitdiff
path: root/xfd.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 21:53:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 21:53:12 -0700
commitbc9769630b473230e7a403817ec5e82317457f09 (patch)
tree594854edba96c9f76568b8ab487b15ce7f483067 /xfd.c
parente53ac1417a453abbdba751345ef6a227d65ef5e7 (diff)
Add const attribute to domaindir fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xfd.c')
-rw-r--r--xfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfd.c b/xfd.c
index a866398..a725414 100644
--- a/xfd.c
+++ b/xfd.c
@@ -185,7 +185,7 @@ main(int argc, char *argv[])
XftFont *xft;
#endif
char *fontname;
- char *domaindir;
+ const char *domaindir;
long minn, maxn;
XtSetLanguageProc(NULL, NULL, NULL);