summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-19 13:39:51 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-19 13:39:51 +0300
commit4f96ac493ef8e912cd1507fe79e4831a8cf7efb0 (patch)
tree1353aaa74990b265161a7ac97191d6983bb6f01c /protocols/Gadu-Gadu/src
parentffd5d3db80f0f4d97747e2810ea55b7fb9a3ad98 (diff)
code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp2
-rw-r--r--protocols/Gadu-Gadu/src/filetransfer.cpp2
2 files changed, 2 insertions, 2 deletions
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);