diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-16 22:17:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-16 22:17:16 +0000 |
commit | 55a8ab47a15bfbfbd52d0d28368a72c0207a12a5 (patch) | |
tree | 64f25a3488a439ca3aae9eb80d7735f9147013e9 /plugins/NewXstatusNotify/src/utils.cpp | |
parent | 769b537b5e1a99fc53aa7296fd2b21dc77a4071c (diff) |
fixes warning & 64-bit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@14972 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/utils.cpp')
-rw-r--r-- | plugins/NewXstatusNotify/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/utils.cpp b/plugins/NewXstatusNotify/src/utils.cpp index 8e592a5121..d850fb8d08 100644 --- a/plugins/NewXstatusNotify/src/utils.cpp +++ b/plugins/NewXstatusNotify/src/utils.cpp @@ -56,7 +56,7 @@ int DBGetStringDefault(MCONTACT hContact, const char *szModule, const char *szSe void ShowLog(TCHAR *file)
{
- int res = (int)ShellExecute(NULL, _T("open"), file, NULL, NULL, SW_SHOW);
+ INT_PTR res = (INT_PTR)ShellExecute(NULL, _T("open"), file, NULL, NULL, SW_SHOW);
if (res <= 32) // error
MessageBox(0, TranslateT("Can't open the log file!"), TranslateT("NewXstatusNotify"), MB_OK | MB_ICONERROR);
}
|