From def3c562cbbf1a4e7c55375458ba2e007615fd65 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 3 Jan 2011 18:45:04 +0000 Subject: MOHAWK: Silence a gcc warning svn-id: r55106 --- engines/mohawk/myst_stacks/myst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp index 6a9c92549c..58354f7568 100644 --- a/engines/mohawk/myst_stacks/myst.cpp +++ b/engines/mohawk/myst_stacks/myst.cpp @@ -3090,7 +3090,7 @@ void MystScriptParser_Myst::observatoryUpdateVisualizer(uint16 x, uint16 y) { } void MystScriptParser_Myst::observatorySetTargetToSetting() { - uint32 visuX = _state.observatoryTimeSetting * 0.28; + uint32 visuX = (uint16)(_state.observatoryTimeSetting * 0.28); uint32 visuY = 250 * _state.observatoryYearSetting + 65 * (_state.observatoryMonthSetting + 1) + 20 * _state.observatoryDaySetting; -- cgit v1.2.3