[Scummvm-cvs-logs] scummvm master -> ad9fdfd3904a78da10cbd3f8e0c7358b9d5d4d8b

lordhoto lordhoto at gmail.com
Mon Feb 13 23:43:18 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ad9fdfd390 KYRA: Silence some icpc warnings by making a member array of KyraRpgGUISettings non-const.


Commit: ad9fdfd3904a78da10cbd3f8e0c7358b9d5d4d8b
    https://github.com/scummvm/scummvm/commit/ad9fdfd3904a78da10cbd3f8e0c7358b9d5d4d8b
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-02-13T14:42:25-08:00

Commit Message:
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.

Changed paths:
    engines/kyra/kyra_rpg.h



diff --git a/engines/kyra/kyra_rpg.h b/engines/kyra/kyra_rpg.h
index a1b9b4c..b5530a9 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 {






More information about the Scummvm-git-logs mailing list