summaryrefslogtreecommitdiffstats
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 58818328d41..2a876c5a1af 100644
--- a/src/frontend/mame/ui/videoopt.cpp
+++ b/src/frontend/mame/ui/videoopt.cpp
@@ -141,7 +141,7 @@ void menu_video_options::handle()
// process the menu
event const *const menu_event(process(0));
- if (menu_event && menu_event->itemref)
+ if (menu_event && uintptr_t(menu_event->itemref))
{
switch (reinterpret_cast<uintptr_t>(menu_event->itemref))
{