summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-17 22:11:35 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-17 22:16:54 +0200
commitcb3e1334e8a5c3003fa0419442fc06d45508ac31 (patch)
tree6be2facd0014fff4a4769b6a6a082c722c03ad87 /src/cache.h
parent12d67a2a4e7f673e6239ac8865dfe8cb6ddcae53 (diff)
downloadlibgit2-threadsafe.tar.gz
Fix the threading implementationthreadsafe
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.h b/src/cache.h
index a84267b49..9f525e68c 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -11,7 +11,7 @@ typedef void (*git_cached_obj_freeptr)(void *);
typedef struct {
git_oid oid;
- unsigned int refcount;
+ git_atomic refcount;
} git_cached_obj;
typedef struct {