summaryrefslogtreecommitdiff
path: root/match-trees.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-10-21 00:12:12 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-10-21 01:43:27 -0400
commit538dfe7397db62e5c7e8861c272380140969a8b8 (patch)
tree70040b3240ed347f8252b8e59aff44ac82e66642 /match-trees.c
parent6e863d6d129a1b6a13c66d0bb03f3d43db6c51fe (diff)
downloadgit-538dfe7397db62e5c7e8861c272380140969a8b8.tar.gz
Improved const correctness for strings
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'match-trees.c')
-rw-r--r--match-trees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match-trees.c b/match-trees.c
index d7e29c4d1d..0fd6df7d6e 100644
--- a/match-trees.c
+++ b/match-trees.c
@@ -132,7 +132,7 @@ static void match_trees(const unsigned char *hash1,
const unsigned char *hash2,
int *best_score,
char **best_match,
- char *base,
+ const char *base,
int recurse_limit)
{
struct tree_desc one;