Unidiff1 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 |
|
@@ -3,17 +3,17 @@ |
3 | * Copyright (C) 2006 Lars Hjemli |
3 | * Copyright (C) 2006 Lars Hjemli |
4 | * |
4 | * |
5 | * Licensed under GNU General Public License v2 |
5 | * Licensed under GNU General Public License v2 |
6 | * (see COPYING for full license text) |
6 | * (see COPYING for full license text) |
7 | */ |
7 | */ |
8 | |
8 | |
9 | #include "cgit.h" |
9 | #include "cgit.h" |
10 | |
10 | |
11 | void cgit_print_view(char *hex) |
11 | void cgit_print_view(const char *hex) |
12 | { |
12 | { |
13 | unsigned char sha1[20]; |
13 | unsigned char sha1[20]; |
14 | char type[20]; |
14 | char type[20]; |
15 | unsigned char *buf; |
15 | unsigned char *buf; |
16 | unsigned long size; |
16 | unsigned long size; |
17 | |
17 | |
18 | if (get_sha1_hex(hex, sha1)){ |
18 | if (get_sha1_hex(hex, sha1)){ |
19 | cgit_print_error(fmt("Bad hex value: %s", hex)); |
19 | cgit_print_error(fmt("Bad hex value: %s", hex)); |
|