mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 04:01:41 +00:00
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>
This commit is contained in:
parent
c3a41e5f14
commit
f7fcb0dd1b
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user