diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2013-04-25 11:52:17 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2013-04-25 12:40:33 -0500 |
| commit | eb63fda2e24d007e31742587984a30e086249d43 (patch) | |
| tree | 79d98a9ec5fae1586ab777c80e3d4f164f03a578 /src/cache.h | |
| parent | b4117e19b7a968f8e6b878d81c58a462093cf1b3 (diff) | |
| download | libgit2-eb63fda2e24d007e31742587984a30e086249d43.tar.gz | |
git_atomic_ssize for 64-bit atomics only on 64-bit platforms
Diffstat (limited to 'src/cache.h')
| -rw-r--r-- | src/cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cache.h b/src/cache.h index 16470e9c8..53fbcf4e9 100644 --- a/src/cache.h +++ b/src/cache.h @@ -31,12 +31,12 @@ typedef struct { typedef struct { git_oidmap *map; git_mutex lock; - int64_t used_memory; + ssize_t used_memory; } git_cache; extern bool git_cache__enabled; -extern int64_t git_cache__max_storage; -extern git_atomic64 git_cache__current_storage; +extern ssize_t git_cache__max_storage; +extern git_atomic_ssize git_cache__current_storage; int git_cache_set_max_object_size(git_otype type, size_t size); |
