diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-03-04 16:10:16 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-04 16:10:16 +0300 |
commit | f7fcb0dd1be9c6b863468303d082c27e2583bb13 (patch) | |
tree | 17eed733f55b6238281ba8c62f7d5fd396317081 | |
parent | c3a41e5f14ddd1d0fe5faf9d457ffea8bff0d366 (diff) |
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>
-rw-r--r-- | src/repository.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.h b/src/repository.h index 4af062e97..4f4a4a863 100644 --- a/src/repository.h +++ b/src/repository.h @@ -27,7 +27,7 @@ struct git_object { git_repository *repo; git_odb_source source; unsigned short refcount; - short in_memory:1, modified:1; + unsigned char in_memory, modified; }; struct git_repository { |