commit: add "lookup_commit_reference()" helper function
[gitweb.git] / ls-tree.c
index 4231c4b234d8c8a5a35adb3d15ad9cd1f7dcf51a..a69eac87a8db3da6d13ecf28d70609e20941f00c 100644 (file)
--- a/ls-tree.c
+++ b/ls-tree.c
@@ -24,7 +24,7 @@ static void print_path_prefix(struct path_prefix *prefix)
 }
 
 static void list_recursive(void *buffer,
-                          const unsigned char *type,
+                          const char *type,
                           unsigned long size,
                           struct path_prefix *prefix)
 {