fix(ImageProvider): avoid bad signed comparison

This commit is contained in:
Ronan Abhamon 2018-01-26 16:01:13 +01:00
parent f72f40d080
commit 6715a13e24

View file

@ -35,7 +35,7 @@ using namespace std;
namespace {
// Max image size in bytes. (100Kb)
constexpr size_t cMaxImageSize = 102400;
constexpr qint64 cMaxImageSize = 102400;
}
static void removeAttribute (QXmlStreamAttributes &readerAttributes, const QString &name) {