diff options
Diffstat (limited to 'src/osd/windows/window.cpp')
-rw-r--r-- | src/osd/windows/window.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index 046211d4f29..5b102dd359b 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -133,11 +133,11 @@ struct mtlog }; static mtlog mtlog[100000]; -static volatile LONG mtlogindex; +static volatile INT32 mtlogindex; void mtlog_add(const char *event) { - int index = atomic_increment32((LONG *) &mtlogindex) - 1; + int index = atomic_increment32((INT32 *) &mtlogindex) - 1; if (index < ARRAY_LENGTH(mtlog)) { mtlog[index].timestamp = osd_ticks(); @@ -262,7 +262,6 @@ void windows_osd_interface::window_exit() win_window_list = temp->m_next; temp->destroy(); global_free(temp); - } // kill the drawers @@ -783,7 +782,7 @@ void win_window_info::update() // if we're visible and running and not in the middle of a resize, draw if (m_hwnd != NULL && m_target != NULL && m_renderer != NULL) { - int got_lock = TRUE; + bool got_lock = true; mtlog_add("winwindow_video_window_update: try lock"); |