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; };