summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-01-08 12:04:12 +0100
committerJosJuice <josjuice@gmail.com>2018-01-08 12:14:18 +0100
commit1557e6ab05294c65253ca60774c332cfe9659191 (patch)
tree4e07da111b65033890b9b0cb55bae3e0b1132262 /Source/Core/VideoCommon/TextureCacheBase.cpp
parenta2404c42a16e808952471e219cf25d4b1bedb05d (diff)
Specify underlying types for enums that get casted from integers
Otherwise we might get UB if the value we cast is larger than the max value of the underlying type that the compiled picked for the enum. I haven't done any extensive check through Dolphin to find cases of this, I'm just fixing the cases I already know of.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions