summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filesel.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-07-09 01:06:33 +1000
committer Vas Crabb <vas@vastheman.com>2016-07-09 01:07:10 +1000
commit7738284b0e6a3b4e5ee066fb5b93f0c7ef77db25 (patch)
tree2aaca94890afa65ef803db8c7f71e5a185ba1646 /src/frontend/mame/ui/filesel.cpp
parent45de5e113eefa03e583d97ec2095a48d2a791f62 (diff)
another baby step untangling the menu code
Diffstat (limited to 'src/frontend/mame/ui/filesel.cpp')
-rw-r--r--src/frontend/mame/ui/filesel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp
index fdefe84715d..3343d82367c 100644
--- a/src/frontend/mame/ui/filesel.cpp
+++ b/src/frontend/mame/ui/filesel.cpp
@@ -460,7 +460,7 @@ void menu_file_selector::handle()
if (update_selected)
{
- const file_selector_entry *cur_selected = (const file_selector_entry *)get_selection();
+ file_selector_entry const *const cur_selected(reinterpret_cast<file_selector_entry const *>(get_selection_ref()));
// check for entries which matches our m_filename_buffer:
for (auto &entry : m_entrylist)