Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix warning, use intmax_t %ju, thanks stateless! - stagit - static git page ge…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 9128782aa848465c47928d4ce8f40bd3320a5661
parent 824526a656945aeba3c41264f000126f686cabee
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 6 Jan 2016 15:19:26 +0100
fix warning, use intmax_t %ju, thanks stateless!
Diffstat:
M stagit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -628,7 +628,7 @@ writeblob(git_object *obj, const char *filename, git_off_t…
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)) {
t@@ -734,7 +734,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *branc…
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);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.