On 23/3/23 18:15, Thiago Macieira wrote:
On Wednesday, 22 March 2023 18:19:59 HST Hamish Moffatt via Interest wrote:
static constexpr quint8 tagBits =
QtPrivate::qConstexprCountTrailingZeroBits(alignment);
So would you fix it with a cast, or by changing the variable type to int
to match the function?
Either solution is fine. I was thinking of simply adding a quint8() cast around
the result, but changing to uint also works too. The latter is a smaller
change anyway.
OK. There's a similar issue in QtConcurrent (unchanged since 5.15
actually) also driving me mad - __int64 resulting from std::distance is
assigned to int.
Hamish
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest