QTextStream's operator<<(number) uses qAbs to extract the "absolute value" of number, and passes that and the number's sign to an internal formatting function. However qAbs is unsuitable for the task, because it will fail if `number` is minimal, as it returns the same type of its input. Since we can afford to change the type of the result, call the private qUnsignedAbs() function instead. Change-Id: Ib813a199503f2d07c78bb76862ab2e15d68d0ec2 Pick-to: 6.8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 8f762b546fe6b2254029c4804a32d9ae6bbf4495) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%