ifile_size is uint32_t on latest libgit2, thanks uggedal for reporting it! - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit d073ffa0a26256a94c5e1ab53b50cc147631081f /scm/stagit-gopher/commit/d073ffa0a26256a94c5e1ab53b50cc147631081f.gph bitreich.org 70 1parent c3014aaaba1d98b8e54537cef6246add1ab62094 /scm/stagit-gopher/commit/c3014aaaba1d98b8e54537cef6246add1ab62094.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Thu, 17 Dec 2015 19:53:07 +0100 Err bitreich.org 70 i Err bitreich.org 70 ifile_size is uint32_t on latest libgit2, thanks uggedal for reporting it! Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M urmoms.c | 4 ++-- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 2 insertions(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/urmoms.c b/urmoms.c /scm/stagit-gopher/file/urmoms.c.gph bitreich.org 70 i@@ -580,7 +580,7 @@ writeblob(const git_index_entry *entry) Err bitreich.org 70 i Err bitreich.org 70 i fp = efopen(fpath, "w+b"); Err bitreich.org 70 i writeheader(fp); Err bitreich.org 70 i- fprintf(fp, "

%s (%" PRIu64 "b)


", entry->path, entry->file_size); Err bitreich.org 70 i+ fprintf(fp, "

%s (%" PRIu32 "b)


", entry->path, entry->file_size); Err bitreich.org 70 i if (git_blob_is_binary((git_blob *)obj)) { Err bitreich.org 70 i fprintf(fp, "

Binary file

\n"); Err bitreich.org 70 i } else { Err bitreich.org 70 i@@ -621,7 +621,7 @@ writefiles(FILE *fp) Err bitreich.org 70 i fputs(".html\">", fp); Err bitreich.org 70 i xmlencode(fp, entry->path, strlen(entry->path)); Err bitreich.org 70 i fputs("", fp); Err bitreich.org 70 i- fprintf(fp, "%" PRIu64, entry->file_size); Err bitreich.org 70 i+ fprintf(fp, "%" PRIu32, entry->file_size); Err bitreich.org 70 i fputs("\n", fp); Err bitreich.org 70 i Err bitreich.org 70 i writeblob(entry); Err bitreich.org 70 .