aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/menu.cpp
diff options
context:
space:
mode:
authorMax Horn2007-05-30 14:38:17 +0000
committerMax Horn2007-05-30 14:38:17 +0000
commit5aeb9d8b3e902eeedaa6a85f1f38afff06f85ac9 (patch)
treea595c84f24e7b8c292240c5e6e05cc49ba61ac47 /engines/cruise/menu.cpp
parent0504f18e9f2a4d03f4b5ce7cfb60cd7a2a383a42 (diff)
downloadscummvm-rg350-5aeb9d8b3e902eeedaa6a85f1f38afff06f85ac9.tar.gz
scummvm-rg350-5aeb9d8b3e902eeedaa6a85f1f38afff06f85ac9.tar.bz2
scummvm-rg350-5aeb9d8b3e902eeedaa6a85f1f38afff06f85ac9.zip
Several const correctness fixes
svn-id: r27011
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 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;