summaryrefslogtreecommitdiffstats
path: root/examples/embedded
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embedded')
-rw-r--r--examples/embedded/flickable/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/embedded/flickable/main.cpp b/examples/embedded/flickable/main.cpp
index 973154331d..d3b314fcd0 100644
--- a/examples/embedded/flickable/main.cpp
+++ b/examples/embedded/flickable/main.cpp
@@ -72,7 +72,7 @@ static QStringList colorPairs(int max)
// randomize it
colors.clear();
while (combinedColors.count()) {
- int i = QRandomGenerator::global()->bounded(combinedColors.count());
+ int i = QRandomGenerator::global()->bounded(int(combinedColors.count()));
colors << combinedColors[i];
combinedColors.removeAt(i);
if (colors.count() == max)