diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-02 17:45:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-02 17:45:25 -0700 |
commit | 14e8607c4129b4470f46f6f59e29103f620f3a73 (patch) | |
tree | 0c332b9b0a80375e421286cb1caea8089b331a00 /builtin-commit.c | |
parent | 4afbaefffa9095fe1391b4b61289a7dc954e9f7b (diff) | |
parent | 85e72830697a23dd6b1af8b6bfb3c1a7be60dfae (diff) | |
download | git-14e8607c4129b4470f46f6f59e29103f620f3a73.tar.gz |
Merge branch 'dp/pid-uintmax'
* dp/pid-uintmax:
cast pid_t's to uintmax_t to improve portability
Diffstat (limited to 'builtin-commit.c')
-rw-r--r-- | builtin-commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index c870037b07..b75d5e931d 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); |