File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1400,7 +1400,7 @@ int git_odb__error_notfound(
14001400 char oid_str [GIT_OID_HEXSZ + 1 ];
14011401 git_oid_tostr (oid_str , oid_len + 1 , oid );
14021402 giterr_set (GITERR_ODB , "Object not found - %s (%.*s)" ,
1403- message , oid_len , oid_str );
1403+ message , ( int ) oid_len , oid_str );
14041404 } else
14051405 giterr_set (GITERR_ODB , "Object not found - %s" , message );
14061406
Original file line number Diff line number Diff line change @@ -917,7 +917,7 @@ int git_tree_entry_bypath(
917917
918918 if (entry == NULL ) {
919919 giterr_set (GITERR_TREE ,
920- "the path '%.*s' does not exist in the given tree" , filename_len , path );
920+ "the path '%.*s' does not exist in the given tree" , ( int ) filename_len , path );
921921 return GIT_ENOTFOUND ;
922922 }
923923
@@ -927,7 +927,7 @@ int git_tree_entry_bypath(
927927 * then this entry *must* be a tree */
928928 if (!git_tree_entry__is_tree (entry )) {
929929 giterr_set (GITERR_TREE ,
930- "the path '%.*s' exists but is not a tree" , filename_len , path );
930+ "the path '%.*s' exists but is not a tree" , ( int ) filename_len , path );
931931 return GIT_ENOTFOUND ;
932932 }
933933
You can’t perform that action at this time.
0 commit comments