mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
733cb7dcc7
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. |
||
---|---|---|
.. | ||
configure.engine | ||
cryo.cpp | ||
cryo.h | ||
cryolib.cpp | ||
cryolib.h | ||
debugger.cpp | ||
debugger.h | ||
defs.h | ||
detection.cpp | ||
eden.cpp | ||
eden.h | ||
graphics.cpp | ||
module.mk | ||
platdefs.h | ||
resource.cpp | ||
sound.cpp | ||
sound.h | ||
video.cpp | ||
video.h |