Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/diff-filespec-cleanup'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Mar 2014 20:48:50 +0000
(13:48 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Mar 2014 20:48:50 +0000
(13:48 -0700)
Portability fix to a topic already in v1.9
* jk/diff-filespec-cleanup:
diffcore.h: be explicit about the signedness of is_binary
diffcore.h
patch
|
blob
|
history
raw
(from parent 1:
15520a8
)
diff --git
a/diffcore.h
b/diffcore.h
index 92788ee4de8e59068a204729a8d6f7f89aaa6ee6..c876dac71a585abb1e138444eb28258e3bf6d7e8 100644
(file)
--- a/
diffcore.h
+++ b/
diffcore.h
@@
-46,7
+46,7
@@
struct diff_filespec {
unsigned is_stdin : 1;
unsigned has_more_entries : 1; /* only appear in combined diff */
/* data should be considered "binary"; -1 means "don't know yet" */
- int is_binary : 2;
+
signed
int is_binary : 2;
struct userdiff_driver *driver;
};