X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9c2e863ec22ce552f1a2e06c6c9e3d77368b0e87..777faf7e509e1de2b795b2a326ff00c9bd799104:/ui-view.c diff --git a/ui-view.c b/ui-view.c index 9d13be1..07cd8be 100644 --- a/ui-view.c +++ b/ui-view.c @@ -8,7 +8,7 @@ #include "cgit.h" -void cgit_print_view(char *hex) +void cgit_print_view(const char *hex) { unsigned char sha1[20]; char type[20]; @@ -34,7 +34,7 @@ void cgit_print_view(char *hex) buf[size] = '\0'; html("

Object content

\n"); html("\n"); - htmlf("\n", type, hex, size); + htmlf("\n", type, hex, size); html("\n");
%s %s, %li bytes
%s %s, %li bytes
\n"); html_txt(buf); html("\n