diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/netsurf.c | 2 | ||||
-rw-r--r-- | desktop/options.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 153810705..a1bc42b93 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -191,7 +191,7 @@ nserror netsurf_init(const char *messages, const char *store_path) hlcache_parameters.llcache.limit -= image_cache_parameters.limit; /* set backing store target limit */ - hlcache_parameters.llcache.store.limit = nsoption_int(disc_cache_size); + hlcache_parameters.llcache.store.limit = nsoption_uint(disc_cache_size); /* set backing store hysterissi to 20% */ hlcache_parameters.llcache.store.hysteresis = (hlcache_parameters.llcache.store.limit * 20) / 100;; diff --git a/desktop/options.h b/desktop/options.h index 391dfbc08..33ecb7554 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -89,7 +89,7 @@ NSOPTION_STRING(accept_charset, NULL) NSOPTION_INTEGER(memory_cache_size, 12 * 1024 * 1024) /** Preferred expiry size of disc cache / bytes. */ -NSOPTION_INTEGER(disc_cache_size, 1024 * 1024 * 1024) +NSOPTION_UINT(disc_cache_size, 1024 * 1024 * 1024) /** Preferred expiry age of disc cache / days. */ NSOPTION_INTEGER(disc_cache_age, 28) |