summaryrefslogtreecommitdiff
path: root/info.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:29:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:29:07 -0800
commit24d38c420d5d60c988f07dd25f7fa81171dac64f (patch)
tree47d34022ccbff9515e85ed47cf34794c19454df2 /info.c
parente17c2f59266528dce1cfb71798dc6075b74839a3 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/info.c b/info.c
index 6825765..9de747a 100644
--- a/info.c
+++ b/info.c
@@ -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;