Fixes for MacOs compiler warnings (#4778)

This commit is contained in:
Paul Johnson
2026-01-06 12:31:29 +00:00
committed by GitHub
parent d57b7c5ead
commit 1ee5af3d85
50 changed files with 91 additions and 123 deletions

View File

@@ -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
}
}

View File

@@ -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());
}