diff: do not use null sha1 as a sentinel value
[gitweb.git] / diffcore.h
index 8f32b824cdc1bac1f094d743f3bee9f32890edca..c964ec114a56cb0e42f4164bdabf15e9e15a4ecb 100644 (file)
@@ -54,7 +54,7 @@ struct diff_filespec {
 extern struct diff_filespec *alloc_filespec(const char *);
 extern void free_filespec(struct diff_filespec *);
 extern void fill_filespec(struct diff_filespec *, const unsigned char *,
-                         unsigned short);
+                         int, unsigned short);
 
 extern int diff_populate_filespec(struct diff_filespec *, int);
 extern void diff_free_filespec_data(struct diff_filespec *);