mesa: add const qualifier in check_for_ending() to silence warning
authorBrian Paul <brianp@vmware.com>
Sat, 29 Sep 2012 14:24:44 +0000 (08:24 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 29 Sep 2012 14:24:44 +0000 (08:24 -0600)
src/mesa/main/version.c

index a1fcec46dcd0e9405c57d1beefe423017e03d924..5778792a6f582c3e0199d8bd679db8ad77b66742 100644 (file)
@@ -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;