summaryrefslogtreecommitdiffabout
path: root/ui-diff.c
Unidiff
Diffstat (limited to 'ui-diff.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-diff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui-diff.c b/ui-diff.c
index b6486f1..0ad9faf 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -9,3 +9,2 @@
9#include "cgit.h" 9#include "cgit.h"
10#include "xdiff.h"
11 10
@@ -84,3 +83,3 @@ static int load_mmfile(mmfile_t *file, const unsigned char *sha1)
84{ 83{
85 char type[20]; 84 enum object_type type;
86 85
@@ -90,3 +89,3 @@ static int load_mmfile(mmfile_t *file, const unsigned char *sha1)
90 } else { 89 } else {
91 file->ptr = read_sha1_file(sha1, type, &file->size); 90 file->ptr = read_sha1_file(sha1, &type, &file->size);
92 } 91 }