about summary refs log tree commit diff
path: root/ui-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-view.c')
-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];