From: Brian Paul Date: Sat, 29 Sep 2012 14:24:44 +0000 (-0600) Subject: mesa: add const qualifier in check_for_ending() to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e77fc1279acadcdd3f5278811efdfaf1cd92bbb0;p=mesa.git mesa: add const qualifier in check_for_ending() to silence warning --- 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;