diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2008-08-26 18:50:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-26 16:22:00 -0700 |
commit | d47fb8b099d38cde7d3b27b44cc86cd720284d39 (patch) | |
tree | 3c7c320f9d9299e55b6c0f8b4e68d6f79c46ecfc /builtin-fast-export.c | |
parent | 0843acfd2c32dd8a8594731a0090d0934ccb123b (diff) | |
download | git-d47fb8b099d38cde7d3b27b44cc86cd720284d39.tar.gz |
Fix a warning (on cygwin) to allow -Werror
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fast-export.c')
-rw-r--r-- | builtin-fast-export.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 070971616d..7c93eb878d 100644 --- a/builtin-fast-export.c +++ b/builtin-fast-export.c @@ -417,7 +417,8 @@ static void export_marks(char *file) for (i = 0; i < idnums.size; i++) { if (deco->base && deco->base->type == 1) { mark = ptr_to_mark(deco->decoration); - fprintf(f, ":%u %s\n", mark, sha1_to_hex(deco->base->sha1)); + fprintf(f, ":%"PRIu32" %s\n", mark, + sha1_to_hex(deco->base->sha1)); } deco++; } |