From 5be705687eac0ddfbd282a82f02257d363dc6f5d Mon Sep 17 00:00:00 2001 From: shunf4 Date: Fri, 10 May 2024 19:29:11 +0800 Subject: [PATCH] fix: remove soleFolderIndex arg in IFolderOperations::CopyTo --- CPP/7zip/UI/FileManager/ExtractCallback.h | 2 +- CPP/7zip/UI/FileManager/IFolder.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CPP/7zip/UI/FileManager/ExtractCallback.h b/CPP/7zip/UI/FileManager/ExtractCallback.h index 09b96ca5..15e82608 100755 --- a/CPP/7zip/UI/FileManager/ExtractCallback.h +++ b/CPP/7zip/UI/FileManager/ExtractCallback.h @@ -281,7 +281,7 @@ public: ProcessAltStreams(true), StreamMode(false), OverwriteMode(NExtract::NOverwriteMode::kAsk), - SoleFolderIndex(-1), + SoleFolderIndex(-1LL), #ifndef Z7_NO_CRYPTO PasswordIsDefined(false), PasswordWasAsked(false), diff --git a/CPP/7zip/UI/FileManager/IFolder.h b/CPP/7zip/UI/FileManager/IFolder.h index ab65a2a0..e375b851 100755 --- a/CPP/7zip/UI/FileManager/IFolder.h +++ b/CPP/7zip/UI/FileManager/IFolder.h @@ -82,7 +82,6 @@ Z7_IFACE_CONSTR_FOLDER_SUB(IFolderOperationsExtractCallback, IProgress, 0x0B) x(Delete(const UInt32 *indices, UInt32 numItems, IProgress *progress)) \ x(CopyTo(Int32 moveMode, const UInt32 *indices, UInt32 numItems, \ Int32 includeAltStreams, Int32 replaceAltStreamCharsMode, \ - Int64 soleFolderIndex, \ const wchar_t *path, IFolderOperationsExtractCallback *callback)) \ x(CopyFrom(Int32 moveMode, const wchar_t *fromFolderPath, \ const wchar_t * const *itemsPaths, UInt32 numItems, IProgress *progress)) \