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
@@ -5,13 +5,13 @@
* Licensed under GNU General Public License v2
* (see COPYING for full license text)
*/
#include "cgit.h"
-void cgit_print_view(char *hex)
+void cgit_print_view(const char *hex)
{
unsigned char sha1[20];
char type[20];
unsigned char *buf;
unsigned long size;