Merge branch 'jk/diff-filespec-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Mar 2014 20:48:50 +0000 (13:48 -0700)
committerJunio 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
index 92788ee4de8e59068a204729a8d6f7f89aaa6ee6..c876dac71a585abb1e138444eb28258e3bf6d7e8 100644 (file)
@@ -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;
 };