Fix some build warnings due to bad integer format in printf

Change-Id: I4b882b0a800f92eaa13f38ed23caa4b1f4992e26
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
Jean-Michaël Celerier 2020-05-12 09:56:24 +02:00
parent ec67512454
commit 3f1cffdb2e

View File

@ -1137,7 +1137,7 @@ bool copyAndroidExtraLibs(Options *options)
return true;
if (options->verbose)
fprintf(stdout, "Copying %d external libraries to package.\n", options->extraLibs.size());
fprintf(stdout, "Copying %zd external libraries to package.\n", options->extraLibs.size());
for (const QString &extraLib : options->extraLibs) {
QFileInfo extraLibInfo(extraLib);
@ -2090,10 +2090,10 @@ bool copyQtFiles(Options *options)
if (options->verbose) {
switch (options->deploymentMechanism) {
case Options::Bundled:
fprintf(stdout, "Copying %d dependencies from Qt into package.\n", options->qtDependencies.size());
fprintf(stdout, "Copying %zd dependencies from Qt into package.\n", options->qtDependencies.size());
break;
case Options::Ministro:
fprintf(stdout, "Setting %d dependencies from Qt in package.\n", options->qtDependencies.size());
fprintf(stdout, "Setting %zd dependencies from Qt in package.\n", options->qtDependencies.size());
break;
};
}