aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/words.h
diff options
context:
space:
mode:
authorColin Snover2016-08-19 15:18:02 -0500
committerColin Snover2016-08-19 15:23:10 -0500
commit7f23c91de9a784ebbd92a566f9c20cfc2f8a7534 (patch)
tree8cc2cc3a638e855947e5dbdad43e96efe5131231 /engines/agi/words.h
parentda62a99a00c625886b1a3297387f1c164ce23861 (diff)
downloadscummvm-rg350-7f23c91de9a784ebbd92a566f9c20cfc2f8a7534.tar.gz
scummvm-rg350-7f23c91de9a784ebbd92a566f9c20cfc2f8a7534.tar.bz2
scummvm-rg350-7f23c91de9a784ebbd92a566f9c20cfc2f8a7534.zip
SCI32: Fix limited data range comparison warning
On at least DC platform, the ShowStyleType enum is fit to a 4-bit data size, so the 16-bit input value needs to be checked for validity *before* it is cast to a 4-bit ShowStyleType.
Diffstat (limited to 'engines/agi/words.h')
0 files changed, 0 insertions, 0 deletions