projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225276c
)
mesa: add const qualifier in check_for_ending() to silence warning
author
Brian Paul
<brianp@vmware.com>
Sat, 29 Sep 2012 14:24:44 +0000
(08:24 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 29 Sep 2012 14:24:44 +0000
(08:24 -0600)
src/mesa/main/version.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/version.c
b/src/mesa/main/version.c
index a1fcec46dcd0e9405c57d1beefe423017e03d924..5778792a6f582c3e0199d8bd679db8ad77b66742 100644
(file)
--- 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(c
onst c
har *string, const char *ending)
{
int len1, len2;