Commit f7fcb0dd by Vicent Marti

Don't use non-int bit fields

They are not standard. MSVC complains about them. And that's not good.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent c3a41e5f
...@@ -27,7 +27,7 @@ struct git_object { ...@@ -27,7 +27,7 @@ struct git_object {
git_repository *repo; git_repository *repo;
git_odb_source source; git_odb_source source;
unsigned short refcount; unsigned short refcount;
short in_memory:1, modified:1; unsigned char in_memory, modified;
}; };
struct git_repository { struct git_repository {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment