summaryrefslogtreecommitdiff
path: root/ui-tree.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-09-20 00:21:47 +0200
committerLars Hjemli <hjemli@gmail.com>2007-09-20 00:21:47 +0200
commit0835ffefb8a1f5387463b22e2e5f7e34d387d7b1 (patch)
treeb05423687e97b885f8a6b2617bb6018fbb9d3407 /ui-tree.c
parent6df9c7028a489578bc8593e56298cd869fcdc1fc (diff)
Remove a few compiler warnings
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-tree.c')
-rw-r--r--ui-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-tree.c b/ui-tree.c
index 15d1f5a..d6bcec3 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -15,7 +15,7 @@ int header = 0;
static void print_object(const unsigned char *sha1, char *path)
{
enum object_type type;
- unsigned char *buf;
+ char *buf;
unsigned long size, lineno, start, idx;
const char *linefmt = "<tr><td class='no'><a name='%1$d'>%1$d</a></td><td class='txt'>";