diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-10 10:04:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-10 10:04:16 +0000 |
commit | ddf46f560f63f43aedc6464edad759cc3a711d4b (patch) | |
tree | d28752a25425c57ffb726f062963cb7edb337001 /plugins/CyrTranslit/MirandaContact.cpp | |
parent | 3730671c0735c834098e24d9b03a501e521e0c90 (diff) |
64-bit compilation issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CyrTranslit/MirandaContact.cpp')
-rw-r--r-- | plugins/CyrTranslit/MirandaContact.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/CyrTranslit/MirandaContact.cpp b/plugins/CyrTranslit/MirandaContact.cpp index ca1f959f4b..0906db3769 100644 --- a/plugins/CyrTranslit/MirandaContact.cpp +++ b/plugins/CyrTranslit/MirandaContact.cpp @@ -54,8 +54,7 @@ MirandaContact::~MirandaContact() void MirandaContact::initialize()
{
- CreateServiceFunction(
- MENU_COMMAND_CALLBACK_SERVICE,onMenuCommandTransliterate);
+ CreateServiceFunction(MENU_COMMAND_CALLBACK_SERVICE,onMenuCommandTransliterate);
generateMenuItemsForAllContacts();
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPreBuildContactMenu);
@@ -148,7 +147,7 @@ void MirandaContact::activateTransliterationProtocolForSubscribedContacts() //------------------------------------------------------------------------------
-int MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM lParam)
+INT_PTR MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM lParam)
{
HANDLE hContact = reinterpret_cast<HANDLE>(wParam);
if(!CallService(MS_DB_CONTACT_IS, wParam, 0)) return 0;
|