summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-12-26 23:42:05 +0000
committer smf- <smf-@users.noreply.github.com>2017-12-26 23:42:45 +0000
commitd752ea6b3d267e55419cfbd2c4dee2666e66a337 (patch)
treee14d73de598de9c5ed290eacbca8b8aaff61b1c9 /src/osd
parentc767113f59dbec4775d962dc9f306feebcefe84d (diff)
fix building for windows with qt debugger. [smf]
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/windows/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp
index 0fcb9ccceac..69bb5153ed4 100644
--- a/src/osd/windows/window.cpp
+++ b/src/osd/windows/window.cpp
@@ -1834,7 +1834,7 @@ bool winwindow_qt_filter(void *message)
if(msg->hwnd) // get the machine associated with this window
ptr = GetWindowLongPtr(msg->hwnd, GWLP_USERDATA);
else // any one will have to do
- ptr = (LONG_PTR)osd_common_t::s_window_list;
+ ptr = (LONG_PTR)osd_common_t::s_window_list.front().get();
winwindow_dispatch_message(((win_window_info *)ptr)->machine(), msg);
return true;