summaryrefslogtreecommitdiff
blob: 79c66a8c95b8484275126567c9ed267d33a8c8c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/binreloc.cxx
+++ src/binreloc.cxx
@@ -739,7 +739,8 @@
 char *
 br_dirname (const char *path)
 {
-	char *end, *result;
+	const char *end;
+	char *result;
 
 	if (path == (const char *) NULL)
 		return (char *) NULL;