aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/menu.cpp')
-rw-r--r--engines/cruise/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/menu.cpp b/engines/cruise/menu.cpp
index 42a69b71da..8125b06ca2 100644
--- a/engines/cruise/menu.cpp
+++ b/engines/cruise/menu.cpp
@@ -42,7 +42,7 @@ menuStruct *createMenu(int X, int Y, const char *menuName) {
entry->stringPtr = menuName;
entry->numElements = 0;
entry->ptrNextElement = NULL;
- entry->gfx = renderText(160, (const uint8 *)menuName);
+ entry->gfx = renderText(160, menuName);
return entry;
}
@@ -103,7 +103,7 @@ void addSelectableMenuEntry(int ovlIdx, int headerIdx, menuStruct *pMenu, int pa
pNewElement->next = NULL;
pNewElement->varC = 0;
pNewElement->color = color;
- pNewElement->gfx = renderText(160, (const uint8 *)menuText);
+ pNewElement->gfx = renderText(160, menuText);
if (var_6 == NULL) {
pMenu->ptrNextElement = pNewElement;