diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-04-22 17:30:49 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 17:30:49 +0200 |
commit | a14163a79d644f0fd2856b083f355f2df19f6bdd (patch) | |
tree | 0129432e13cb86199b7b3df50fa681b53effca83 /src/util.c | |
parent | f9774eea3a37e3a2a44d3c7e9dbc895280c3d90a (diff) | |
download | libgit2-a14163a79d644f0fd2856b083f355f2df19f6bdd.tar.gz |
cache: Shared meter for memory usage
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c index c3fc69756..2dec49f17 100644 --- a/src/util.c +++ b/src/util.c @@ -39,7 +39,6 @@ int git_libgit2_capabilities() /* Declarations for tuneable settings */ extern size_t git_mwindow__window_size; extern size_t git_mwindow__mapped_limit; -extern size_t git_odb__cache_size; static int config_level_to_futils_dir(int config_level) { @@ -104,7 +103,7 @@ int git_libgit2_opts(int key, ...) } case GIT_OPT_SET_CACHE_MAX_SIZE: - git_cache__max_storage = va_arg(ap, size_t); + git_cache__max_storage = va_arg(ap, int64_t); break; case GIT_OPT_ENABLE_CACHING: |