summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/condrender.h
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-08-13 13:02:24 +0200
committerErik Faye-Lund <[email protected]>2019-08-15 20:23:53 +0200
commit18ab42644b134e3aecd8ea14df3d30eb9b6a80f4 (patch)
tree66c9ed55482bb1c03021fd8a73168485bbac1bdc /src/mesa/main/condrender.h
parent0091f62978b26e89e8c0581552b4b91667c658fd (diff)
gallium/util: widen type before multiplication
This method returns size_t, but the multiplication multiplies two integers, leading to overflow rather than type widening. Noticed by compiling with MSVC, which emits a warning. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/condrender.h')
0 files changed, 0 insertions, 0 deletions