Mercurial > hg > vamp-plugin-pack
changeset 95:24d64a983fc8
MSVC fix
author | Chris Cannam |
---|---|
date | Fri, 28 Feb 2020 08:53:30 +0000 |
parents | b2e0b5d4cc5a |
children | e7badb8450d8 |
files | installer.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;