summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/silent/tst_silent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib/selftests/silent/tst_silent.cpp')
-rw-r--r--tests/auto/testlib/selftests/silent/tst_silent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/silent/tst_silent.cpp b/tests/auto/testlib/selftests/silent/tst_silent.cpp
index 7d64efffa2..13a832d0b7 100644
--- a/tests/auto/testlib/selftests/silent/tst_silent.cpp
+++ b/tests/auto/testlib/selftests/silent/tst_silent.cpp
@@ -106,7 +106,7 @@ int main(int argc, char *argv[])
{
std::vector<const char*> args(argv, argv + argc);
args.push_back("-silent");
- argc = args.size();
+ argc = int(args.size());
argv = const_cast<char**>(&args[0]);
QTEST_MAIN_IMPL(tst_Silent)