mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #5513 from libgit2/pks/tests-fix-32-bit-formatter
tests: merge: fix printf formatter on 32 bit arches
This commit is contained in:
@@ -307,7 +307,7 @@ void test_merge_trees_renames__cache_recomputation(void)
|
||||
*/
|
||||
cl_git_pass(git_treebuilder_new(&builder, repo, NULL));
|
||||
for (i = 0; i < 1000; i++) {
|
||||
cl_git_pass(git_buf_printf(&path, "%"PRIuMAX".txt", i));
|
||||
cl_git_pass(git_buf_printf(&path, "%"PRIuZ".txt", i));
|
||||
cl_git_pass(git_treebuilder_insert(NULL, builder, path.ptr, &blob, GIT_FILEMODE_BLOB));
|
||||
git_buf_clear(&path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user