From 01e38d12ede3109687208c387b50ee6a07c3426c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 25 Dec 2020 00:08:06 +0000 Subject: Fix some compiler warnings --- src/AvatarProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AvatarProvider.cpp') diff --git a/src/AvatarProvider.cpp b/src/AvatarProvider.cpp index b1751c33..4c3969be 100644 --- a/src/AvatarProvider.cpp +++ b/src/AvatarProvider.cpp @@ -81,7 +81,7 @@ resolve(const QString &avatarUrl, int size, QObject *receiver, AvatarCallback ca cache::saveImage(cacheKey.toStdString(), res); } - emit proxy->avatarDownloaded(QByteArray(res.data(), res.size())); + emit proxy->avatarDownloaded(QByteArray(res.data(), (int)res.size())); }); } -- cgit 1.5.1