Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 9b34767

Browse files
committed
Merge branch 'jk/diff-filespec-cleanup'
Portability fix to a topic already in v1.9 * jk/diff-filespec-cleanup: diffcore.h: be explicit about the signedness of is_binary
2 parents 15520a8 + 7d0a9a7 commit 9b34767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: diffcore.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct diff_filespec {
4646
unsigned is_stdin : 1;
4747
unsigned has_more_entries : 1; /* only appear in combined diff */
4848
/* data should be considered "binary"; -1 means "don't know yet" */
49-
int is_binary : 2;
49+
signed int is_binary : 2;
5050
struct userdiff_driver *driver;
5151
};
5252

0 commit comments

Comments
 (0)