diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-16 22:17:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-16 22:17:43 +0000 |
commit | 52ab0aed54e6e8df874a7e1ef1c985d268dca4f3 (patch) | |
tree | b70fb5ea3c545e27db33330d4262e5268c256f2c /plugins/Msg_Export/src/FileViewer.cpp | |
parent | 55a8ab47a15bfbfbd52d0d28368a72c0207a12a5 (diff) |
fixes warning & 64-bit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@14973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/FileViewer.cpp')
-rwxr-xr-x | plugins/Msg_Export/src/FileViewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Msg_Export/src/FileViewer.cpp b/plugins/Msg_Export/src/FileViewer.cpp index 488eda2fd0..b68b96a430 100755 --- a/plugins/Msg_Export/src/FileViewer.cpp +++ b/plugins/Msg_Export/src/FileViewer.cpp @@ -666,7 +666,7 @@ bool bLoadFile(HWND hwndDlg, CLHistoryDlg * pclDlg) pclDlg->bUtf8File = clInfo.bUtf8File;
}
else {
- eds.dwCookie = (DWORD)hFile;
+ eds.dwCookie = (DWORD_PTR)hFile;
eds.pfnCallback = RichEditStreamLoadFile;
SendMessage(hRichEdit, EM_STREAMIN, (WPARAM)SF_TEXT, (LPARAM)&eds);
@@ -1116,7 +1116,7 @@ static INT_PTR CALLBACK DlgProcFileViewer(HWND hwndDlg, UINT msg, WPARAM wParam, }
EDITSTREAM eds;
- eds.dwCookie = (DWORD)hFile;
+ eds.dwCookie = (DWORD_PTR)hFile;
eds.dwError = 0;
eds.pfnCallback = RichEditStreamSaveFile;
LRESULT nWriteOk = SendMessage(hRichEdit, EM_STREAMOUT, (WPARAM)SF_RTF, (LPARAM)&eds);
|