From 24d38c420d5d60c988f07dd25f7fa81171dac64f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 19 Nov 2011 11:29:03 -0800 Subject: Fix some gcc -Wwrite-strings warnings Many are unfixable at the moment due to the libXt API Signed-off-by: Alan Coopersmith --- misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 90e4e6c..3c4c636 100644 --- a/misc.c +++ b/misc.c @@ -95,7 +95,7 @@ putenv(char *s) int -strbw(char *a, char *b) +strbw(const char *a, const char *b) { return !strncmp (a, b, strlen (b)); } -- cgit v1.2.3