summaryrefslogtreecommitdiff
blob: c6c06d9ce2a6996181e663502ede366f6f974b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/graphics/window.cpp
+++ b/graphics/window.cpp
@@ -398,7 +398,7 @@
 		 */
 		if(token)
 		{
-			char *tok = strchr(txt, token);
+			const char *tok = strchr(txt, token);
 			if(tok)
 				tokpos = tok-txt;
 			else