summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 22:55:02 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 22:55:02 -0800
commitfd581210e938c217dad196e9298776ca5f1c1e82 (patch)
treefce35864b5996ba345ec20d582071d326d9f3f65
parent352f0b7e46e3e98b9f91c736730be6a521ec4d8a (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--showfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/showfont.c b/showfont.c
index 35b7f2f..263ad50 100644
--- a/showfont.c
+++ b/showfont.c
@@ -356,7 +356,7 @@ usage(void)
int
main(int argc, char **argv)
{
- char *servername = "localhost:7100"; /* -server: font server name */
+ const char *servername = "localhost:7100"; /* -server: font server name */
char *fontname = NULL; /* -fn: font name */
int i;
Font fid,