diff options
author | Thierry Crozat | 2017-10-06 01:00:27 +0100 |
---|---|---|
committer | Thierry Crozat | 2017-10-08 14:51:04 +0100 |
commit | b1ba071ea8a128f94f70f9a28270644e5d70b6fb (patch) | |
tree | a0919d9d5923aa8a4df241ea9434016b5c9335d9 /engines/tsage/core.h | |
parent | 9b374acb2b1aad5fd38fb99fdf48cc081e291b9a (diff) | |
download | scummvm-rg350-b1ba071ea8a128f94f70f9a28270644e5d70b6fb.tar.gz scummvm-rg350-b1ba071ea8a128f94f70f9a28270644e5d70b6fb.tar.bz2 scummvm-rg350-b1ba071ea8a128f94f70f9a28270644e5d70b6fb.zip |
TSAGE: Fix undefined behaviour in variadic functions
Passing a type that undergoes default argument promotion as last
argument of a variadic function results in undefined behaviour.
Diffstat (limited to 'engines/tsage/core.h')
-rw-r--r-- | engines/tsage/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/core.h b/engines/tsage/core.h index 8b1deadaeb..1cee491b4c 100644 --- a/engines/tsage/core.h +++ b/engines/tsage/core.h @@ -577,7 +577,7 @@ public: void getHorizBounds(); int getRegionIndex(); int checkRegion(const Common::Point &pt); - void animate(AnimateMode animMode, ...); + void animate(int animMode, ...); void checkAngle(const SceneObject *obj); void checkAngle(const Common::Point &pt); void hide(); |