diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:55:02 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:55:02 -0800 |
commit | fd581210e938c217dad196e9298776ca5f1c1e82 (patch) | |
tree | fce35864b5996ba345ec20d582071d326d9f3f65 | |
parent | 352f0b7e46e3e98b9f91c736730be6a521ec4d8a (diff) |
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | showfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |