From 5719bddbb5f8c6e347a25db21cdf09bf86d9583a Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Wed, 13 Jul 2016 19:35:43 +0100 Subject: [PATCH] gsdx:windows: Change m_colorspace to INT_PTR Fixes a 64-bit compile error. --- plugins/GSdx/GSCaptureDlg.cpp | 2 +- plugins/GSdx/GSCaptureDlg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSCaptureDlg.cpp b/plugins/GSdx/GSCaptureDlg.cpp index d993d5dc9b..5466326086 100644 --- a/plugins/GSdx/GSCaptureDlg.cpp +++ b/plugins/GSdx/GSCaptureDlg.cpp @@ -181,7 +181,7 @@ bool GSCaptureDlg::OnCommand(HWND hWnd, UINT id, UINT code) m_width = GetTextAsInt(IDC_WIDTH); m_height = GetTextAsInt(IDC_HEIGHT); m_filename = GetText(IDC_FILENAME); - ComboBoxGetSelData(IDC_COLORSPACE, (INT_PTR)m_colorspace); + ComboBoxGetSelData(IDC_COLORSPACE, m_colorspace); Codec c; diff --git a/plugins/GSdx/GSCaptureDlg.h b/plugins/GSdx/GSCaptureDlg.h index 58773750d8..36c80ba6f8 100644 --- a/plugins/GSdx/GSCaptureDlg.h +++ b/plugins/GSdx/GSCaptureDlg.h @@ -49,6 +49,6 @@ public: int m_width; int m_height; string m_filename; - int m_colorspace; + INT_PTR m_colorspace; CComPtr m_enc; };