From f7fcb0dd1be9c6b863468303d082c27e2583bb13 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 4 Mar 2011 15:10:16 +0200 Subject: [PATCH] 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 --- src/repository.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {