X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-commit.c;h=8165bb3d31c6cdd92c83663c5dd081e564dcfc1e;hb=1c12b38601b5b4da61a2e90540a8de56261d93af;hp=4182686b9090a33c02fa39a442f1555134cf6616;hpb=146ea068a0434a7423d8b0d77f27ccff0a584ac4;p=git.git diff --git a/builtin-commit.c b/builtin-commit.c index 4182686b9..8165bb3d3 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -320,7 +320,7 @@ static char *prepare_index(int argc, const char **argv, const char *prefix) die("unable to write new_index file"); fd = hold_lock_file_for_update(&false_lock, - git_path("next-index-%d", getpid()), 1); + git_path("next-index-%"PRIuMAX, (uintmax_t) getpid()), 1); create_base_index(); add_remove_files(&partial);