diff options
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.c b/src/tree.c index 6008a9544..e338acca0 100644 --- a/src/tree.c +++ b/src/tree.c @@ -917,7 +917,7 @@ int git_tree_entry_bypath( if (entry == NULL) { giterr_set(GITERR_TREE, - "the path '%.*s' does not exist in the given tree", filename_len, path); + "the path '%.*s' does not exist in the given tree", (int) filename_len, path); return GIT_ENOTFOUND; } @@ -927,7 +927,7 @@ int git_tree_entry_bypath( * then this entry *must* be a tree */ if (!git_tree_entry__is_tree(entry)) { giterr_set(GITERR_TREE, - "the path '%.*s' exists but is not a tree", filename_len, path); + "the path '%.*s' exists but is not a tree", (int) filename_len, path); return GIT_ENOTFOUND; } |