Introduction
Introduction Statistics Contact Development Disclaimer Help
tfile_size is uint32_t on latest libgit2, thanks uggedal for reporting it! - st…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit d073ffa0a26256a94c5e1ab53b50cc147631081f
parent c3014aaaba1d98b8e54537cef6246add1ab62094
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 17 Dec 2015 19:53:07 +0100
file_size is uint32_t on latest libgit2, thanks uggedal for reporting it!
Diffstat:
M urmoms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/urmoms.c b/urmoms.c
t@@ -580,7 +580,7 @@ writeblob(const git_index_entry *entry)
fp = efopen(fpath, "w+b");
writeheader(fp);
- fprintf(fp, "<p>%s (%" PRIu64 "b)</p><hr/>", entry->path, entry->file_…
+ fprintf(fp, "<p>%s (%" PRIu32 "b)</p><hr/>", entry->path, entry->file_…
if (git_blob_is_binary((git_blob *)obj)) {
fprintf(fp, "<p>Binary file</p>\n");
} else {
t@@ -621,7 +621,7 @@ writefiles(FILE *fp)
fputs(".html\">", fp);
xmlencode(fp, entry->path, strlen(entry->path));
fputs("</a></td><td class=\"num\">", fp);
- fprintf(fp, "%" PRIu64, entry->file_size);
+ fprintf(fp, "%" PRIu32, entry->file_size);
fputs("</td></tr>\n", fp);
writeblob(entry);
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.