X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/1830271c5958526425f92ae2b369646b54e3c370..94e5f212f55d3f4dd6ce83edb6db823de7eb8cc7:/ui-diff.c?ds=sidebyside diff --git a/ui-diff.c b/ui-diff.c index a4ade4d..1cf2ce0 100644 --- a/ui-diff.c +++ b/ui-diff.c @@ -31,7 +31,7 @@ static struct fileinfo { unsigned int removed; unsigned long old_size; unsigned long new_size; - int binary:1; + unsigned int binary:1; } *items; static int use_ssdiff = 0; @@ -311,7 +311,7 @@ static void filepair_cb(struct diff_filepair *pair) cgit_ssdiff_footer(); } -void cgit_print_diff_ctrls() +void cgit_print_diff_ctrls(void) { int i, curr; @@ -349,6 +349,7 @@ void cgit_print_diff_ctrls() curr = ctx.qry.has_difftype ? ctx.qry.difftype : ctx.cfg.difftype; html_intoption(0, "unified", curr); html_intoption(1, "ssdiff", curr); + html_intoption(2, "stat only", curr); html(""); html("