diff --git a/plugins/sendnotifications/windowsnotificationslistener.cpp b/plugins/sendnotifications/windowsnotificationslistener.cpp index 137709e9a..bca593518 100644 --- a/plugins/sendnotifications/windowsnotificationslistener.cpp +++ b/plugins/sendnotifications/windowsnotificationslistener.cpp @@ -112,7 +112,7 @@ void WindowsNotificationsListener::onNotificationChanged(const UserNotificationL reader.ReadBytes({bufferArray.data(), bufferArray.data() + bufferArray.size()}); QImage image; - if (image.loadFromData(bufferArray.data(), bufferArray.size())) { + if (image.loadFromData(bufferArray.data(), (int)(bufferArray.size()))) { // Write the logo buffer to the QIODevice QSharedPointer iconSource = iconFromQImage(image); if (iconSource) {