diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-09-08 19:53:16 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-09-08 19:53:16 +0000 |
commit | d3d721fc3dc0702aa06e44a022824ad5df4267b7 (patch) | |
tree | 305f1cd6f559c54811081f829d988a8d76af1d22 /plugins/New_GPG/src/utilities.cpp | |
parent | 1b68f5a6f01f968399a14940b6bd307e9b02d6d0 (diff) |
compile fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-x | plugins/New_GPG/src/utilities.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index f15fb23706..43e03af4f3 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -130,7 +130,7 @@ void GetFolderPath(TCHAR *WindowTittle, char *szSetting) } } -int LoadKey(WPARAM w, LPARAM l) +INT_PTR LoadKey(WPARAM w, LPARAM l) { void ShowLoadPublicKeyDialog(); extern map<int, HANDLE> user_data; @@ -141,7 +141,7 @@ int LoadKey(WPARAM w, LPARAM l) return 0; } -int SendKey(WPARAM w, LPARAM l) +INT_PTR SendKey(WPARAM w, LPARAM l) { HANDLE hContact = (HANDLE)w; if(metaIsProtoMetaContacts(hContact)) @@ -175,7 +175,7 @@ int SendKey(WPARAM w, LPARAM l) extern HANDLE hLoadPublicKey, hToggleEncryption; -int ToggleEncryption(WPARAM w, LPARAM l) +INT_PTR ToggleEncryption(WPARAM w, LPARAM l) { HANDLE hContact = (HANDLE)w; BYTE enc = 0; @@ -1290,7 +1290,7 @@ bool isTabsrmmUsed() } -int ExportGpGKeys(WPARAM w, LPARAM l) +INT_PTR ExportGpGKeys(WPARAM w, LPARAM l) { TCHAR *p = GetFilePath(_T("Choose file to export public keys"), _T("*"), _T("Any file"), true); if(!p || !p[0]) @@ -1453,7 +1453,7 @@ int ExportGpGKeys(WPARAM w, LPARAM l) return 0; } -int ImportGpGKeys(WPARAM w, LPARAM l) +INT_PTR ImportGpGKeys(WPARAM w, LPARAM l) { TCHAR *p = GetFilePath(_T("Choose file to import keys from"), _T("*"), _T("Any file")); if(!p || !p[0]) |