diff options
author | Thierry Crozat | 2017-10-06 00:55:11 +0100 |
---|---|---|
committer | Thierry Crozat | 2017-10-06 01:01:11 +0100 |
commit | 99abd640c82d47b6b0fd11267eec18fa528f0a0b (patch) | |
tree | 5d23cedf46f5f03ec79bec7f8448ab4bff7d15fa /engines/hugo/display.h | |
parent | 6f8f27ecb28fca750e0ceaa09779d78164eaaaac (diff) | |
download | scummvm-rg350-99abd640c82d47b6b0fd11267eec18fa528f0a0b.tar.gz scummvm-rg350-99abd640c82d47b6b0fd11267eec18fa528f0a0b.tar.bz2 scummvm-rg350-99abd640c82d47b6b0fd11267eec18fa528f0a0b.zip |
HUGO: 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/hugo/display.h')
-rw-r--r-- | engines/hugo/display.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/display.h b/engines/hugo/display.h index 99fda0a638..33a0be8850 100644 --- a/engines/hugo/display.h +++ b/engines/hugo/display.h @@ -61,7 +61,7 @@ public: void displayBackground(); void displayFrame(const int sx, const int sy, Seq *seq, const bool foreFl); - void displayList(Dupdate update, ...); + void displayList(int update, ...); void displayRect(const int16 x, const int16 y, const int16 dx, const int16 dy); void drawBoundaries(); void drawRectangle(const bool filledFl, const int16 x1, const int16 y1, const int16 x2, const int16 y2, const int color); |