summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;