From 6e67be23d4796ce8a3d39408aa2e02b632c67b47 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Mar 2019 18:15:37 +0300 Subject: YAMN: warning fixes --- protocols/YAMN/src/browser/badconnect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/YAMN/src/browser/badconnect.cpp') diff --git a/protocols/YAMN/src/browser/badconnect.cpp b/protocols/YAMN/src/browser/badconnect.cpp index 02db99b77d..678eb1f337 100644 --- a/protocols/YAMN/src/browser/badconnect.cpp +++ b/protocols/YAMN/src/browser/badconnect.cpp @@ -21,7 +21,7 @@ LRESULT CALLBACK BadConnectPopupProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM STARTUPINFOW si; memset(&si, 0, sizeof(si)); si.cb = sizeof(si); - HACCOUNT ActualAccount = (HACCOUNT)PUGetPluginData(hWnd); + CAccount *ActualAccount = (CAccount *)PUGetPluginData(hWnd); #ifdef DEBUG_SYNCHRO DebugLog(SynchroFile, "PopupProc:LEFTCLICK:ActualAccountSO-read wait\n"); #endif @@ -79,7 +79,7 @@ INT_PTR CALLBACK DlgProcYAMNBadConnection(HWND hDlg, UINT msg, WPARAM wParam, LP case WM_INITDIALOG: { BOOL ShowPopup, ShowMsg, ShowIco; - HACCOUNT ActualAccount; + CAccount *ActualAccount; DWORD ErrorCode; char* TitleStrA; char *Message1A = nullptr; @@ -206,7 +206,7 @@ void __cdecl BadConnection(void *Param) { MSG msg; HWND hBadConnect; - HACCOUNT ActualAccount; + CAccount *ActualAccount; struct BadConnectionParam MyParam = *(struct BadConnectionParam *)Param; ActualAccount = MyParam.account; -- cgit v1.2.3