From ad9fdfd3904a78da10cbd3f8e0c7358b9d5d4d8b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 13 Feb 2012 23:40:24 +0100 Subject: KYRA: Silence some icpc warnings by making a member array of KyraRpgGUISettings non-const. All instances are const anyway, thus this should be a safe way to silence the warning. --- engines/kyra/kyra_rpg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/kyra_rpg.h b/engines/kyra/kyra_rpg.h index a1b9b4c332..b5530a9a81 100644 --- a/engines/kyra/kyra_rpg.h +++ b/engines/kyra/kyra_rpg.h @@ -87,9 +87,9 @@ struct KyraRpgGUISettings { uint16 width; uint16 height; int waitReserve; - const uint16 waitX[2]; - const uint8 waitY[2]; - const uint16 waitWidth[2]; + uint16 waitX[2]; + uint8 waitY[2]; + uint16 waitWidth[2]; } buttons; struct Colors { -- cgit v1.2.3