Skip to content

Instantly share code, notes, and snippets.

@richlowe
Created February 23, 2014 22:12
Show Gist options
  • Save richlowe/9178088 to your computer and use it in GitHub Desktop.
Save richlowe/9178088 to your computer and use it in GitHub Desktop.
diff --git a/diffcore.h b/diffcore.h
index 79de8cf..7c6f391 100644
--- 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;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment