summaryrefslogtreecommitdiff
blob: 6b659c76a82db0ed3a2a61a0399389add91d0c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/mmgr.cpp
+++ src/mmgr.cpp
@@ -228,9 +228,9 @@
 
 static	const char	*sourceFileStripper(const char *sourceFile)
 {
-	char	*ptr = strrchr(sourceFile, '\\');
+	char	*ptr = strrchr((char *)sourceFile, '\\');
 	if (ptr) return ptr + 1;
-	ptr = strrchr(sourceFile, '/');
+	ptr = strrchr((char *)sourceFile, '/');
 	if (ptr) return ptr + 1;
 	return sourceFile;
 }