Commit 6715a13e authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ImageProvider): avoid bad signed comparison

parent f72f40d0
...@@ -35,7 +35,7 @@ using namespace std; ...@@ -35,7 +35,7 @@ using namespace std;
namespace { namespace {
// Max image size in bytes. (100Kb) // Max image size in bytes. (100Kb)
constexpr size_t cMaxImageSize = 102400; constexpr qint64 cMaxImageSize = 102400;
} }
static void removeAttribute (QXmlStreamAttributes &readerAttributes, const QString &name) { static void removeAttribute (QXmlStreamAttributes &readerAttributes, const QString &name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment