UI: AppInfoManager: Fix warning for 64-bit build.

This commit is contained in:
Nodir Temirkhodjaev 2021-08-29 19:37:18 +03:00
parent f013efcf9e
commit b60c87713b

View File

@ -181,7 +181,7 @@ bool AppInfoManager::saveToDb(const QString &appPath, AppInfo &appInfo, const QI
// Save icon image
QVariant iconId;
{
const uint iconHash = qHashBits(appIcon.constBits(), size_t(appIcon.sizeInBytes()));
const uint iconHash = uint(qHashBits(appIcon.constBits(), size_t(appIcon.sizeInBytes())));
iconId = sqliteDb()->executeEx(sqlSelectIconIdByHash, QVariantList() << iconHash);
if (iconId.isNull()) {