From b60c87713b17f3c7fec6f7a12c0e425cbfbc4fe2 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sun, 29 Aug 2021 19:37:18 +0300 Subject: [PATCH] UI: AppInfoManager: Fix warning for 64-bit build. --- src/ui/appinfo/appinfomanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/appinfo/appinfomanager.cpp b/src/ui/appinfo/appinfomanager.cpp index f5be4109..75dcdde9 100644 --- a/src/ui/appinfo/appinfomanager.cpp +++ b/src/ui/appinfo/appinfomanager.cpp @@ -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()) {