From 4a6c59e018f3e4f56011d467d57204d9bfa166c6 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 26 May 2012 22:18:46 +0000 Subject: [PATCH] win32-fix soundview in x64 --- desmume/src/windows/soundView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/soundView.cpp b/desmume/src/windows/soundView.cpp index ab2f99661..bdadb9f6d 100644 --- a/desmume/src/windows/soundView.cpp +++ b/desmume/src/windows/soundView.cpp @@ -361,7 +361,7 @@ static INT_PTR CALLBACK SoundView_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, L if(data == NULL) { data = (SoundView_DataStruct*)lParam; - SetWindowLongPtr(hDlg, DWLP_USER, (LONG)data); + SetWindowLongPtr(hDlg, DWLP_USER, (LONG_PTR)data); } data->hDlg = hDlg;