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/Tox/src/tox_transfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox') diff --git a/protocols/Tox/src/tox_transfer.cpp b/protocols/Tox/src/tox_transfer.cpp index 11b9c993bc..e5f12a2b8c 100644 --- a/protocols/Tox/src/tox_transfer.cpp +++ b/protocols/Tox/src/tox_transfer.cpp @@ -58,7 +58,7 @@ void CToxProto::OnFriendFile(Tox *tox, uint32_t friendNumber, uint32_t fileNumbe pre.timestamp = now(); pre.descr.w = L""; pre.files.w = &name; - pre.lParam = (LPARAM)transfer; + pre.pUserInfo = transfer; ProtoChainRecvFile(hContact, &pre); } break; -- cgit v1.2.3