diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-19 11:29:03 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-19 11:29:07 -0800 |
commit | 24d38c420d5d60c988f07dd25f7fa81171dac64f (patch) | |
tree | 47d34022ccbff9515e85ed47cf34794c19454df2 /info.c | |
parent | e17c2f59266528dce1cfb71798dc6075b74839a3 (diff) |
Fix some gcc -Wwrite-strings warnings
Many are unfixable at the moment due to the libXt API
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'info.c')
-rw-r--r-- | info.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -101,7 +101,7 @@ typedef struct { static void -AppendStr(Buffer *buffer, char *str) +AppendStr(Buffer *buffer, const char *str) { int len = strlen (str); @@ -506,7 +506,7 @@ UpdateClientList(void) { ClientRec *client = (ClientRec *) cl->thing; int extra1, extra2; - char *hint; + const char *hint; progName = NULL; restart_service_prop = NULL; |