diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-06 23:31:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-06 23:31:56 +0300 |
commit | f7cfd1068128e6a7da7d69d1de035b6c70028e17 (patch) | |
tree | f6ddc1206a47661f1e4c95541c15bfdbbd5b5930 /protocols/IcqOscarJ/src/icq_direct.cpp | |
parent | 17d8c0bb68eef6817c1f03a2abd5752e01b93ce9 (diff) |
strange hand-made array removed
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_direct.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_direct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icq_direct.cpp b/protocols/IcqOscarJ/src/icq_direct.cpp index f7d0ea13fb..683c028e11 100644 --- a/protocols/IcqOscarJ/src/icq_direct.cpp +++ b/protocols/IcqOscarJ/src/icq_direct.cpp @@ -315,7 +315,7 @@ void __cdecl CIcqProto::icq_directThread(directthreadstartinfo *dtsi) if (dc.type == DIRECTCONN_FILE) {
ProtoBroadcastAck(dc.ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, dc.ft, 0);
// Release transfer
- SafeReleaseFileTransfer((void**)&dc.ft);
+ SafeReleaseFileTransfer((basic_filetransfer**)&dc.ft);
}
goto LBL_Exit;
}
@@ -428,7 +428,7 @@ void __cdecl CIcqProto::icq_directThread(directthreadstartinfo *dtsi) else if (dc.ft->hConnection)
ProtoBroadcastAck(dc.ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, dc.ft, 0);
- SafeReleaseFileTransfer((void**)&dc.ft);
+ SafeReleaseFileTransfer((basic_filetransfer**)&dc.ft);
_chdir("\\"); /* so we don't leave a subdir handle open so it can't be deleted */
}
|