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:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2010-10-04 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:16:04 +0300
commit2eb60a059819da595efb8e1de49f04c241f5b981 (patch)
treefe5423b6679c605b545b726cb875883ea9299b31 /CPP/7zip/Bundles
parent044e4bb7413beb329edfa3ad27b492d819cdc811 (diff)
9.179.17
Diffstat (limited to 'CPP/7zip/Bundles')
-rwxr-xr-xCPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp b/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp
index 01c6c7cd..efda09d7 100755
--- a/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp
+++ b/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp
@@ -88,7 +88,7 @@ static const int kNumSwitches = sizeof(kSwitchForms) / sizeof(kSwitchForms[0]);
static void PrintMessage(const char *s)
{
- fprintf(stderr, s);
+ fputs(s, stderr);
}
static void PrintHelp()
@@ -425,7 +425,7 @@ int main2(int numArgs, const char *args[])
props[5].ulVal = (UInt32)fb;
props[6].vt = VT_BSTR;
- props[6].bstrVal = (BSTR)(const wchar_t *)mf;
+ props[6].bstrVal = const_cast<BSTR>((const wchar_t *)mf);
props[7].vt = VT_BOOL;
props[7].boolVal = eos ? VARIANT_TRUE : VARIANT_FALSE;