diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-12-25 00:08:06 +0000 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-12-25 00:08:06 +0000 |
commit | 01e38d12ede3109687208c387b50ee6a07c3426c (patch) | |
tree | 349c8d8a82cb4fa7dc5de16c1d479af24a30e9d6 /src/BlurhashProvider.cpp | |
parent | Merge pull request #357 from LorenDB/qkchdocs (diff) | |
download | nheko-01e38d12ede3109687208c387b50ee6a07c3426c.tar.xz |
Fix some compiler warnings
Diffstat (limited to 'src/BlurhashProvider.cpp')
-rw-r--r-- | src/BlurhashProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlurhashProvider.cpp b/src/BlurhashProvider.cpp index 08dc2d40..cc7d5a73 100644 --- a/src/BlurhashProvider.cpp +++ b/src/BlurhashProvider.cpp @@ -31,7 +31,7 @@ BlurhashResponse::run() return; } - QImage image(decoded.image.data(), decoded.width, decoded.height, QImage::Format_RGB32); + QImage image(decoded.image.data(), (int)decoded.width, (int)decoded.height, QImage::Format_RGB32); m_image = image.copy(); emit finished(); |