diff options
author | Lars Hjemli | 2007-09-20 00:21:47 +0200 |
---|---|---|
committer | Lars Hjemli | 2007-09-20 00:21:47 +0200 |
commit | 0835ffefb8a1f5387463b22e2e5f7e34d387d7b1 (patch) | |
tree | b05423687e97b885f8a6b2617bb6018fbb9d3407 /ui-tree.c | |
parent | 6df9c7028a489578bc8593e56298cd869fcdc1fc (diff) | |
download | cgit-0835ffefb8a1f5387463b22e2e5f7e34d387d7b1.tar.gz cgit-0835ffefb8a1f5387463b22e2e5f7e34d387d7b1.tar.bz2 cgit-0835ffefb8a1f5387463b22e2e5f7e34d387d7b1.zip |
Remove a few compiler warnings
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-tree.c')
-rw-r--r-- | ui-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ int header = 0; | |||
15 | static void print_object(const unsigned char *sha1, char *path) | 15 | static void print_object(const unsigned char *sha1, char *path) |
16 | { | 16 | { |
17 | enum object_type type; | 17 | enum object_type type; |
18 | unsigned char *buf; | 18 | char *buf; |
19 | unsigned long size, lineno, start, idx; | 19 | unsigned long size, lineno, start, idx; |
20 | const char *linefmt = "<tr><td class='no'><a name='%1$d'>%1$d</a></td><td class='txt'>"; | 20 | const char *linefmt = "<tr><td class='no'><a name='%1$d'>%1$d</a></td><td class='txt'>"; |
21 | 21 | ||