Fix a warning (on cygwin) to allow -Werror
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Tue, 26 Aug 2008 17:50:37 +0000 (18:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Aug 2008 23:22:00 +0000 (16:22 -0700)
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c

index 070971616dbb12d005c5c9a1f82cc5b0c5391f62..7c93eb878d7da87b39959fb9599e4b7b6b81570b 100644 (file)
@@ -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++;
        }