summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-20 18:04:26 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-20 18:04:26 -0800
commitfad963fc4d1d8dc0a860ee3c7e3280a13124e296 (patch)
tree30f602a41f8f64bd7d7a4e71d3065a0b78e690ec
parent7cccec04962741b0d37bc92e580e1029b2d49849 (diff)
Mark domaindir variable as const char * for gcc -Wwrite-strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xload.c b/xload.c
index f38afb2..4a333c3 100644
--- a/xload.c
+++ b/xload.c
@@ -179,7 +179,7 @@ main(int argc, char **argv)
Arg args[1];
Pixmap icon_pixmap = None;
char *label, host[256];
- char *domaindir;
+ const char *domaindir;
XtSetLanguageProc ( NULL, NULL, NULL );