X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ff7a39488adbee9cb57bf4549efd60e6b7d4fc1a..3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b:/ui-tree.c diff --git a/ui-tree.c b/ui-tree.c index 15d1f5a..c22e30b 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -15,7 +15,7 @@ int header = 0; static void print_object(const unsigned char *sha1, char *path) { enum object_type type; - unsigned char *buf; + char *buf; unsigned long size, lineno, start, idx; const char *linefmt = "%1$d"; @@ -100,7 +100,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, html(""); cgit_log_link("log", NULL, "button", cgit_query_head, curr_rev, - fullpath, 0); + fullpath, 0, NULL, NULL); html("\n"); free(name); return 0;