From 1a9bad022f94966f07bcfe00e81d61433639e047 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Feb 2018 15:38:38 +0300 Subject: compilation fix --- protocols/Steam/src/steam_menus.cpp | 4 ++-- 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); -- cgit v1.2.3