summaryrefslogtreecommitdiffabout
path: root/ui-view.c
Side-by-side diff
Diffstat (limited to 'ui-view.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-view.c b/ui-view.c
index 9d13be1..b75ce9a 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];