summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-29 08:24:44 -0600
committerBrian Paul <[email protected]>2012-09-29 08:24:44 -0600
commite77fc1279acadcdd3f5278811efdfaf1cd92bbb0 (patch)
tree567fe65fe2973b874e64844a538ee208d816c290 /src
parent225276c696341f6bf9c97969b977ffdebc3c920a (diff)
mesa: add const qualifier in check_for_ending() to silence warning
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/version.c2
1 files changed, 1 insertions, 1 deletions
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;