diff options
author | D G Turner | 2017-11-12 20:55:59 +0000 |
---|---|---|
committer | D G Turner | 2017-11-12 20:55:59 +0000 |
commit | 5199f9d080a30b4f3101d00f795ecb0557d522ab (patch) | |
tree | 42816e3eb0e07c908e8d7272e4334a9d3f6d7857 /engines/xeen/combat.cpp | |
parent | da870978353bd6ee151257c9c48379220aa1d7bd (diff) | |
download | scummvm-rg350-5199f9d080a30b4f3101d00f795ecb0557d522ab.tar.gz scummvm-rg350-5199f9d080a30b4f3101d00f795ecb0557d522ab.tar.bz2 scummvm-rg350-5199f9d080a30b4f3101d00f795ecb0557d522ab.zip |
SWORD25: Suppress GCC Cast Qualification Warnings.
Since lua_pushlightuserdata and lua_touserdata operate on (void *)
values, it is tricky to fix these warnings "correctly" without looking
at invasive changes to a significant amount of Lua internal code.
Since these pointers to consts are already being recast to drop the
const qualifications, then removing the const on the underlying value
declaration does not further expose this to change and stops the
compiler warnings associated with this.
Anyone with a better fix for this can restore the const
qualifications later.
Diffstat (limited to 'engines/xeen/combat.cpp')
0 files changed, 0 insertions, 0 deletions