summary refs log tree commit diff
path: root/src/BlurhashProvider.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-12-25 00:08:06 +0000
committerNicolas Werner <nicolas.werner@hotmail.de>2020-12-25 00:08:06 +0000
commit01e38d12ede3109687208c387b50ee6a07c3426c (patch)
tree349c8d8a82cb4fa7dc5de16c1d479af24a30e9d6 /src/BlurhashProvider.cpp
parentMerge pull request #357 from LorenDB/qkchdocs (diff)
downloadnheko-01e38d12ede3109687208c387b50ee6a07c3426c.tar.xz
Fix some compiler warnings
Diffstat (limited to 'src/BlurhashProvider.cpp')
-rw-r--r--src/BlurhashProvider.cpp2
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();