summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/videoopt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/videoopt.cpp')
-rw-r--r--src/frontend/mame/ui/videoopt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/videoopt.cpp b/src/frontend/mame/ui/videoopt.cpp
index 6cf0076734b..7ee243ec4e2 100644
--- a/src/frontend/mame/ui/videoopt.cpp
+++ b/src/frontend/mame/ui/videoopt.cpp
@@ -75,7 +75,7 @@ void menu_video_options::handle()
const event *menu_event = process(0);
if (menu_event != nullptr && menu_event->itemref != nullptr)
{
- switch ((intptr_t)menu_event->itemref)
+ switch ((uintptr_t)menu_event->itemref)
{
/* rotate adds rotation depending on the direction */
case VIDEO_ITEM_ROTATE: