Commit cd186342 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Don't narrow qsizetype to int

parent 8e632c0e
Pipeline #253497 passed with stage
in 47 minutes and 26 seconds
......@@ -64,7 +64,7 @@ public:
}
struct PartHelper {
PartHelper(const QString &type_, const QByteArray &data_, int size_, Part::Storage storage_ = Part::Internal, int version_ = 0)
PartHelper(const QString &type_, const QByteArray &data_, qsizetype size_, Part::Storage storage_ = Part::Internal, int version_ = 0)
: type(type_)
, data(data_)
, size(size_)
......@@ -74,7 +74,7 @@ public:
}
QString type;
QByteArray data;
int size;
qsizetype size;
Part::Storage storage;
int version;
};
......
Supports Markdown
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