summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filesel.cpp
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-07-08 10:11:54 -0500
committer cracyc <cracyc@users.noreply.github.com>2016-07-08 10:11:54 -0500
commit0e8446aff6c59c3a4ed3ccaf8c6f3b0ae6d50b28 (patch)
tree28f47129a86f085330b786da19df1d2dd7552d2f /src/frontend/mame/ui/filesel.cpp
parent1caf0d68c2abc4f83120f72b60c90dd579251a89 (diff)
parent7738284b0e6a3b4e5ee066fb5b93f0c7ef77db25 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
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)