Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-04 16:10:16 +0300
committerVicent Marti <tanoku@gmail.com>2011-03-04 16:10:16 +0300
commitf7fcb0dd1be9c6b863468303d082c27e2583bb13 (patch)
tree17eed733f55b6238281ba8c62f7d5fd396317081 /src/repository.h
parentc3a41e5f14ddd1d0fe5faf9d457ffea8bff0d366 (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>
Diffstat (limited to 'src/repository.h')
-rw-r--r--src/repository.h2
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 {