diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-12 15:38:38 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-12 15:38:38 +0300 |
commit | 1a9bad022f94966f07bcfe00e81d61433639e047 (patch) | |
tree | cd49f68bd46f1f886b8f7e1f89879b2464400ba3 /protocols | |
parent | ee5ef2b0fc45a806fc4210708a84438f609b07dd (diff) |
compilation fix
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Steam/src/steam_menus.cpp | 4 | ||||
-rw-r--r-- | protocols/Steam/src/steam_proto.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_menus.cpp b/protocols/Steam/src/steam_menus.cpp index 5e0941a713..30b6550293 100644 --- a/protocols/Steam/src/steam_menus.cpp +++ b/protocols/Steam/src/steam_menus.cpp @@ -10,13 +10,13 @@ INT_PTR GlobalService(WPARAM wParam, LPARAM lParam) return ppro ? (ppro->*Service)(wParam, lParam) : 0;
}
-int CSteamProto::AuthRequestCommand(WPARAM hContact, LPARAM)
+INT_PTR CSteamProto::AuthRequestCommand(WPARAM hContact, LPARAM)
{
ProtoChainSend(hContact, PSS_AUTHREQUEST, 0, 0);
return 0;
}
-int CSteamProto::AuthRevokeCommand(WPARAM hContact, LPARAM)
+INT_PTR CSteamProto::AuthRevokeCommand(WPARAM hContact, LPARAM)
{
ptrA token(getStringA("TokenSecret"));
ptrA sessionId(getStringA("SessionID"));
diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h index d37f35b071..4e60225644 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -203,8 +203,9 @@ protected: static int hChooserMenu;
static HGENMENU contactMenuItems[CMI_MAX];
- int __cdecl AuthRequestCommand(WPARAM, LPARAM);
- int __cdecl AuthRevokeCommand(WPARAM, LPARAM);
+ INT_PTR __cdecl AuthRequestCommand(WPARAM, LPARAM);
+ INT_PTR __cdecl AuthRevokeCommand(WPARAM, LPARAM);
+
int __cdecl BlockCommand(WPARAM, LPARAM);
int __cdecl UnblockCommand(WPARAM, LPARAM);
int __cdecl JoinToGameCommand(WPARAM, LPARAM);
|