From 5aeb9d8b3e902eeedaa6a85f1f38afff06f85ac9 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 May 2007 14:38:17 +0000 Subject: Several const correctness fixes svn-id: r27011 --- engines/cruise/menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cruise/menu.cpp') diff --git a/engines/cruise/menu.cpp b/engines/cruise/menu.cpp index d76934439b..7352b2f63e 100644 --- a/engines/cruise/menu.cpp +++ b/engines/cruise/menu.cpp @@ -39,7 +39,7 @@ menuStruct *createMenu(int X, int Y, const char *menuName) { entry->stringPtr = menuName; entry->numElements = 0; entry->ptrNextElement = NULL; - entry->gfx = renderText(160, (uint8 *) menuName); + entry->gfx = renderText(160, (const uint8 *)menuName); return entry; } @@ -117,7 +117,7 @@ void addSelectableMenuEntry(int param0, int param1, menuStruct *pMenu, pNewElement->next = NULL; pNewElement->varC = 0; pNewElement->color = color; - pNewElement->gfx = renderText(160, (uint8 *) menuText); + pNewElement->gfx = renderText(160, (const uint8 *)menuText); if (var_6 == NULL) { pMenu->ptrNextElement = pNewElement; -- cgit v1.2.3