summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-01-28 12:49:28 +0100
committerLéo Lam <leo@leolam.fr>2021-04-06 23:27:23 +0200
commit8d21fa56a1133529273d57df06888e42bb63fde7 (patch)
tree1308a9bab60b609ce1cc809dd3d80c7671d7d338 /Source/Core/VideoCommon/CommandProcessor.cpp
parent48712168b8222d4e48371fa1bd803d83fd90334d (diff)
UnitTests: Use MathUtil::SaturatingCast to avoid UB
[conv.fpint]/1: > A prvalue of a floating-point type can be converted to a prvalue of > an integer type. The conversion truncates; that is, the fractional > part is discarded. The behavior is undefined if the truncated value > cannot be represented in the destination type.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions