summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorTilo Nitzsche <tricorus@yahoo.com>2015-11-23 19:28:25 +0100
committerThiago Macieira <thiago.macieira@intel.com>2015-11-24 05:28:21 +0000
commit837b5d458970f3981859cb9dfa0cec5fcd6d0c4f (patch)
tree363085cb47c6034c3579f39938ad253d818a13f5 /src/plugins/platforms
parent5b62a5e7aabcc818408f2fe28b9760082f474def (diff)
Fix undefined behavior in qRgba().
Shifting a signed integer that overflows is undefined behavior. All masks were changed to unsigned in qRgb and qRgba. While the alpha value is enough to fix the undefined behavior, Visual C++ generates slow code if not all of those constants are unsigned. Change-Id: Ia0ec3e9464088495173b4ad9c2e37a49e6f8e987 Task-number: QTBUG-49595 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions