From 4f96ac493ef8e912cd1507fe79e4831a8cf7efb0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Jan 2024 13:39:51 +0300 Subject: code cleaning --- protocols/Gadu-Gadu/src/core.cpp | 2 +- protocols/Gadu-Gadu/src/filetransfer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/src') diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp index dd2271de69..22513f3cf2 100644 --- a/protocols/Gadu-Gadu/src/core.cpp +++ b/protocols/Gadu-Gadu/src/core.cpp @@ -1031,7 +1031,7 @@ retry: pre.timestamp = time(0); pre.descr.a = fileName; pre.files.a = &fileName; - pre.lParam = (LPARAM)dcc7; + pre.pUserInfo = dcc7; ProtoChainRecvFile((UINT_PTR)dcc7->contact, &pre); e->event.dcc7_new = nullptr; diff --git a/protocols/Gadu-Gadu/src/filetransfer.cpp b/protocols/Gadu-Gadu/src/filetransfer.cpp index 2ee8642021..cebb9279a1 100644 --- a/protocols/Gadu-Gadu/src/filetransfer.cpp +++ b/protocols/Gadu-Gadu/src/filetransfer.cpp @@ -372,7 +372,7 @@ void __cdecl GaduProto::dccmainthread(void*) pre.timestamp = time(0); pre.descr.a = pszFileName; pre.files.a = &pszFileName; - pre.lParam = (LPARAM)local_dcc; + pre.pUserInfo = local_dcc; gg_LeaveCriticalSection(&ft_mutex, "dccmainthread", 37, 7, "ft_mutex", 1); ProtoChainRecvFile((UINT_PTR)local_dcc->contact, &pre); -- cgit v1.2.3