Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/UI/Agent/AgentProxy.cpp')
-rwxr-xr-x7zip/UI/Agent/AgentProxy.cpp4
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