submodule foreach: fix "<command> --quiet" not being respected
[gitweb.git] / builtin / fast-export.c
index 36c2575de5251c38b29173af9362f52dd161191d..9e283482efcfa6de0376cc9306061cea149b12df 100644 (file)
@@ -275,7 +275,7 @@ static void export_blob(const struct object_id *oid)
        printf("blob\nmark :%"PRIu32"\n", last_idnum);
        if (show_original_ids)
                printf("original-oid %s\n", oid_to_hex(oid));
-       printf("data %lu\n", size);
+       printf("data %"PRIuMAX"\n", (uintmax_t)size);
        if (size && fwrite(buf, size, 1, stdout) != 1)
                die_errno("could not write blob '%s'", oid_to_hex(oid));
        printf("\n");