Skip to content

Commit

Permalink
Fix a warning (on cygwin) to allow -Werror
Browse files Browse the repository at this point in the history
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Aug 26, 2008
1 parent 0843acf commit d47fb8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin-fast-export.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit d47fb8b

Please sign in to comment.