Remove a few compiler warnings

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
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 @@
 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'>";