diff options
author | D G Turner | 2018-10-16 13:30:44 +0100 |
---|---|---|
committer | D G Turner | 2018-10-16 13:30:44 +0100 |
commit | 5d340d244cc21f93b3cb7f46228fb767d9d16cd9 (patch) | |
tree | eceafea47ce9ddb19220f481288ef18cdb9d13ab /engines/pegasus | |
parent | 43fb9ebb1b188578e272885a318bc57abed42de9 (diff) | |
download | scummvm-rg350-5d340d244cc21f93b3cb7f46228fb767d9d16cd9.tar.gz scummvm-rg350-5d340d244cc21f93b3cb7f46228fb767d9d16cd9.tar.bz2 scummvm-rg350-5d340d244cc21f93b3cb7f46228fb767d9d16cd9.zip |
LASTEXPRESS: Fix Compiler Warning in Sound Code.
The SoundFlag type is an enumeration which have a default underlying
type of unsigned int in most case.
Thus comparing this to -1 causes a compiler warning. Since the default
entity sound flag type is 0xFFFF... which is equivalent to -1, then
replacing this with the correct enum symbol fixes the issue and should
result in the correct behaviour. Examination of the resulting code line
seems to confirm that this is the correct expected logic.
Diffstat (limited to 'engines/pegasus')
0 files changed, 0 insertions, 0 deletions