mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
Fixes for MacOs compiler warnings (#4778)
This commit is contained in:
@@ -64,7 +64,7 @@ void HttpConnectionHandlerPool::cleanup() {
|
||||
if (++idleCounter > maxIdleHandlers) {
|
||||
pool.removeOne(handler);
|
||||
delete handler;
|
||||
wDebug("HttpConnectionHandlerPool: Removed connection handler (%p), pool size is now %i",handler,pool.size());
|
||||
wDebug("HttpConnectionHandlerPool: Removed connection handler (%p), pool size is now %lld",handler,pool.size());
|
||||
break; // remove only one handler in each interval
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ StaticFileController::StaticFileController(QSettings* settings, QObject* parent)
|
||||
maxCachedFileSize=settings->value("maxCachedFileSize","65536").toInt();
|
||||
cache.setMaxCost(settings->value("cacheSize","1000000").toInt());
|
||||
cacheTimeout=settings->value("cacheTime","60000").toInt();
|
||||
wDebug("StaticFileController: cache timeout=%i, size=%i",cacheTimeout,cache.maxCost());
|
||||
wDebug("StaticFileController: cache timeout=%i, size=%lld",cacheTimeout,cache.maxCost());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user