summaryrefslogtreecommitdiff
blob: 6be30167414958fed346ce3f1b3bda1e51fe4589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/binreloc.cxx
+++ b/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;