From: Ramsay Jones Date: Tue, 26 Aug 2008 17:50:37 +0000 (+0100) Subject: Fix a warning (on cygwin) to allow -Werror X-Git-Tag: v1.6.0.2~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d47fb8b099d38cde7d3b27b44cc86cd720284d39;p=git.git Fix a warning (on cygwin) to allow -Werror Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 070971616..7c93eb878 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++; }