# HG changeset patch # User Chris Cannam # Date 1582880010 0 # Node ID 24d64a983fc86752aad1c575f31fb34fe82b2975 # Parent b2e0b5d4cc5a5f582babeb2c2626b816ba831478 MSVC fix diff -r b2e0b5d4cc5a -r 24d64a983fc8 installer.cpp --- a/installer.cpp Thu Feb 27 15:04:53 2020 +0000 +++ b/installer.cpp Fri Feb 28 08:53:30 2020 +0000 @@ -930,7 +930,7 @@ { if (argc == 2 && (QString(argv[1]) == "--version" || QString(argv[1]) == "-v")) { - cerr << PACK_VERSION << endl; + cerr << PACK_VERSION << std::endl; // std:: needed here for MSVC for some reason exit(0); } @@ -983,7 +983,8 @@ } QProgressDialog progress(QObject::tr("Installing..."), - QObject::tr("Stop"), 0, toInstall.size() + 1); + QObject::tr("Stop"), 0, + int(toInstall.size()) + 1); progress.setMinimumDuration(0); int pval = 0;