summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/compressedtexture_bc1
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-30 14:29:11 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-08 19:08:07 +0200
commitcabc24866715d49979400e52275aacb97a442c7d (patch)
tree81b19ca152333660b3b3c3a5472a637077ac0eca /tests/manual/rhi/compressedtexture_bc1
parent7fa5fdae5c4f4c83acb74ff8cd65eacfa567a727 (diff)
Avoid UB in 64bit compositions
Multiplying 65535 by 65535 would exceed the precision of an int, so use 65535U instead. Change-Id: I066e552fb7db03ce867bcbfbd0b555ac98ca4bbf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/manual/rhi/compressedtexture_bc1')
0 files changed, 0 insertions, 0 deletions