mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Fix different sign compare warning.
This commit is contained in:
parent
a6331e9ff9
commit
567716c79a
@ -11,10 +11,10 @@ void FileCache::set_wwwroot(const String &val) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int FileCache::get_cache_invalidation_time() {
|
int FileCache::get_cache_invalidation_time() {
|
||||||
return cache_invalidation_time;
|
return static_cast<int>(cache_invalidation_time);
|
||||||
}
|
}
|
||||||
void FileCache::set_cache_invalidation_time(const int &val) {
|
void FileCache::set_cache_invalidation_time(const int &val) {
|
||||||
cache_invalidation_time = val;
|
cache_invalidation_time = static_cast<uint64_t>(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileCache::wwwroot_register_file(const String &file_path) {
|
void FileCache::wwwroot_register_file(const String &file_path) {
|
||||||
|
@ -38,7 +38,7 @@ public:
|
|||||||
~FileCache();
|
~FileCache();
|
||||||
|
|
||||||
String wwwroot;
|
String wwwroot;
|
||||||
int cache_invalidation_time;
|
uint64_t cache_invalidation_time;
|
||||||
|
|
||||||
Set<String> registered_files;
|
Set<String> registered_files;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user