diff options
Diffstat (limited to '7zip/UI/Agent/AgentProxy.cpp')
-rwxr-xr-x | 7zip/UI/Agent/AgentProxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/7zip/UI/Agent/AgentProxy.cpp b/7zip/UI/Agent/AgentProxy.cpp index ce5737ee..757231c6 100755 --- a/7zip/UI/Agent/AgentProxy.cpp +++ b/7zip/UI/Agent/AgentProxy.cpp @@ -14,7 +14,7 @@ using namespace NWindows; int CProxyFolder::FindDirSubItemIndex(const UString &name, int &insertPos) const { int left = 0, right = Folders.Size(); - while(true) + for (;;) { if (left == right) { @@ -177,7 +177,7 @@ HRESULT CProxyArchive::ReadObjects(IInArchive *archiveHandler, IProgress *progre wchar_t c = filePath[i]; if (c == '\\' || c == '/') { - currentItem = currentItem->AddDirSubItem(-1, false, fileName); + currentItem = currentItem->AddDirSubItem((UInt32)(Int32)-1, false, fileName); fileName.Empty(); } else |