Permalink
Browse files

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>
  • Loading branch information...
1 parent 0843acf commit d47fb8b099d38cde7d3b27b44cc86cd720284d39 Ramsay Jones committed with gitster Aug 26, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 builtin-fast-export.c
View
@@ -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++;
}

0 comments on commit d47fb8b

Please sign in to comment.