mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-04-13 09:30:56 +00:00
Fix MSVC++ compile error due to non-const array dimension values.
This commit is contained in:
parent
6a264f80b7
commit
e11cc9193a
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ void FileOps::extractFromZip(const char* zipFilePath, const char* src, const cha
|
|||
{
|
||||
// found a match which is now the current file
|
||||
unzOpenCurrentFile(zipFile);
|
||||
int chunkSize = 4096;
|
||||
const int chunkSize = 4096;
|
||||
char buffer[chunkSize];
|
||||
|
||||
std::ofstream outputFile(dest,std::ofstream::binary);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
void TestUpdaterOptions::testOldFormatArgs()
|
||||
{
|
||||
int argc = 6;
|
||||
const int argc = 6;
|
||||
char* argv[argc];
|
||||
argv[0] = "updater";
|
||||
argv[1] = "CurrentDir=/path/to/app";
|
||||
|
|
Loading…
Reference in a new issue