aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/sound.h
diff options
context:
space:
mode:
authorD G Turner2018-07-29 03:32:40 +0100
committerD G Turner2018-07-29 03:32:40 +0100
commit733cb7dcc728763b65eab9b11d955e1aa13e16ad (patch)
treefad75d907fd1fa75c94e220fa08dba3ff4314401 /engines/lilliput/sound.h
parent275fc30f2716f742079574080d4260c8328b9401 (diff)
downloadscummvm-rg350-733cb7dcc728763b65eab9b11d955e1aa13e16ad.tar.gz
scummvm-rg350-733cb7dcc728763b65eab9b11d955e1aa13e16ad.tar.bz2
scummvm-rg350-733cb7dcc728763b65eab9b11d955e1aa13e16ad.zip
CRYO: Fix Debug Statement Format String Compiler Warnings.
Some of the debug statements in the engine compute values or sizes of various items by pointer subtraction (which is probably not recommended; I am not sure if this is why some of the structs were previous packed as noted and removed by snover). In any case, the subtractions should result in relatively small integer values, but using these into debug() calls with printf style format strings can cause warnings from the compiler with the format specifier depending on the underlying pointer sizes. To avoid these, have recast these to int. If this does cause any issues, they should be limited to debug() value changes and thus not a functional issue with the engine, which can be corrected by the engine developers.
Diffstat (limited to 'engines/lilliput/sound.h')
0 files changed, 0 insertions, 0 deletions