From 550d9cf39de5fbbd1f4173d5b7bd955c7649995b Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 28 Jul 2009 16:28:32 +0000 Subject: More alignment-related changes svn-id: r42858 --- engines/gob/draw_v2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/gob/draw_v2.cpp') diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index 5c1986289a..a1074d7ecb 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -521,8 +521,7 @@ void Draw_v2::printTotText(int16 id) { case 10: str[0] = (char) 255; - WRITE_LE_UINT16((uint16 *) (str + 1), - ptr - _vm->_game->_resources->getTexts()); + WRITE_LE_UINT16(str + 1, ptr - _vm->_game->_resources->getTexts()); str[3] = 0; ptr++; for (int i = *ptr++; i > 0; i--) { -- cgit v1.2.3