diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-05-19 18:42:17 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-05-19 18:42:17 +0400 |
commit | fa0692df216c30041ed131f4bdc2702a98631827 (patch) | |
tree | 076c5f702be7c12f619a7b43153247083e1e5891 /src/filters/transform | |
parent | e7643414068b195192bba7fd51f748e1a5eb2202 (diff) |
Fix some ICL12 warnings (#557 and #810) (mostly pointer truncations for x64 build).
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4798 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform')
-rw-r--r-- | src/filters/transform/VSFilter/plugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/transform/VSFilter/plugins.cpp b/src/filters/transform/VSFilter/plugins.cpp index 412a9c1b2..2cc49ced7 100644 --- a/src/filters/transform/VSFilter/plugins.cpp +++ b/src/filters/transform/VSFilter/plugins.cpp @@ -1063,7 +1063,7 @@ UINT_PTR CALLBACK OpenHookProc(HWND hDlg, UINT uiMsg, WPARAM wParam, LPARAM lPar for (ptrdiff_t i = 0; i < CharSetLen; i++) {
CString s;
s.Format(_T("%s (%d)"), CharSetNames[i], CharSetList[i]);
- SendMessage(GetDlgItem(hDlg, IDC_COMBO1), CB_ADDSTRING, 0, (LONG)(LPCTSTR)s);
+ SendMessage(GetDlgItem(hDlg, IDC_COMBO1), CB_ADDSTRING, 0, (LPARAM)(LPCTSTR)s);
if (CharSetList[i] == (int)((OPENFILENAME*)lParam)->lCustData) {
SendMessage(GetDlgItem(hDlg, IDC_COMBO1), CB_SETCURSEL, i, 0);
}
|