mirror of
git://git.codemadness.org/stagit
synced 2025-03-09 09:09:12 -04:00
fix warning, use intmax_t %ju, thanks stateless!
This commit is contained in:
parent
824526a656
commit
9128782aa8
4
stagit.c
4
stagit.c
@ -628,7 +628,7 @@ writeblob(git_object *obj, const char *filename, git_off_t filesize)
|
||||
writeheader(fp);
|
||||
fputs("<p> ", fp);
|
||||
xmlencode(fp, filename, strlen(filename));
|
||||
fprintf(fp, " (%" PRIu32 "b)", filesize);
|
||||
fprintf(fp, " (%jub)", filesize);
|
||||
fputs("</p><hr/>", fp);
|
||||
|
||||
if (git_blob_is_binary((git_blob *)obj)) {
|
||||
@ -734,7 +734,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *branch, const char *path)
|
||||
fputs(".html\">", fp);
|
||||
xmlencode(fp, filename, strlen(filename));
|
||||
fputs("</a></td><td class=\"num\">", fp);
|
||||
fprintf(fp, "%" PRIu32, filesize);
|
||||
fprintf(fp, "%ju", filesize);
|
||||
fputs("</td></tr>\n", fp);
|
||||
|
||||
writeblob(obj, filename, filesize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user