summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
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 {