From e77fc1279acadcdd3f5278811efdfaf1cd92bbb0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 29 Sep 2012 08:24:44 -0600 Subject: mesa: add const qualifier in check_for_ending() to silence warning --- src/mesa/main/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index a1fcec46dcd..5778792a6f5 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -31,7 +31,7 @@ * Scans 'string' to see if it ends with 'ending'. */ static GLboolean -check_for_ending(char *string, const char *ending) +check_for_ending(const char *string, const char *ending) { int len1, len2; -- cgit v1.2.3