diff options
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r-- | protocols/Tox/src/tox_transfer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|