Fix -Wformat
QVector::count()'s return type is qsizetype. On a 64 bit platform, it's equivalent to qint64, so "%d" does not suffice. There are two ways to fix it: use PRIdQSIZETYPE or switch to the stream operator. Since the warning format is not complex, this takes the latter approach.
Please register or sign in to comment