diff --git a/modules/web/file_cache.cpp b/modules/web/file_cache.cpp index bedd7683a..89954e81a 100644 --- a/modules/web/file_cache.cpp +++ b/modules/web/file_cache.cpp @@ -11,10 +11,10 @@ void FileCache::set_wwwroot(const String &val) { } int FileCache::get_cache_invalidation_time() { - return cache_invalidation_time; + return static_cast(cache_invalidation_time); } void FileCache::set_cache_invalidation_time(const int &val) { - cache_invalidation_time = val; + cache_invalidation_time = static_cast(val); } void FileCache::wwwroot_register_file(const String &file_path) { diff --git a/modules/web/file_cache.h b/modules/web/file_cache.h index 9f1a705be..0269ed02c 100644 --- a/modules/web/file_cache.h +++ b/modules/web/file_cache.h @@ -38,7 +38,7 @@ public: ~FileCache(); String wwwroot; - int cache_invalidation_time; + uint64_t cache_invalidation_time; Set registered_files;