From 829cb75130d1edd88fa1d33e277f49167daedacf Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 23 Sep 2007 20:15:13 +0200 Subject: Fixed a bunch of const correctness bugs. --- action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'action.c') diff --git a/action.c b/action.c index 023d1eb..8b0ba65 100644 --- a/action.c +++ b/action.c @@ -185,7 +185,7 @@ static char buf[32]; /***====================================================================***/ static Bool -ReportMismatch(unsigned action,unsigned field,char *type) +ReportMismatch(unsigned action, unsigned field, const char *type) { ERROR2("Value of %s field must be of type %s\n",fieldText(field),type); ACTION1("Action %s definition ignored\n", @@ -214,7 +214,7 @@ ReportActionNotArray(unsigned action,unsigned field) } static Bool -ReportNotFound(unsigned action,unsigned field,char *what,char *bad) +ReportNotFound(unsigned action, unsigned field, const char *what, char *bad) { ERROR2("%s named %s not found\n",what,bad); ACTION2("Ignoring the %s field of an %s action\n",fieldText(field), -- cgit v1.2.3