@matheusbsbs / matheus-bagliano / commits / d47fb8b099
Fork 0

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>

Ramsay Jones committed Aug 26, 2008 at 18:50 UTC d47fb8b099d38cde7d3b27b44cc86cd720284d39
1 file changed +2 -1
builtin-fast-export.c
+2 -1
@@ -417,7 +417,8 @@ static void export_marks(char *file)
417 for (i = 0; i < idnums.size; i++) {
418 if (deco->base && deco->base->type == 1) {
419 mark = ptr_to_mark(deco->decoration);
420 - fprintf(f, ":%u %s\n", mark, sha1_to_hex(deco->base->sha1));
420 + fprintf(f, ":%"PRIu32" %s\n", mark,
421 + sha1_to_hex(deco->base->sha1));
422 }
423 deco++;
424 }