summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/io/qfile/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/io/qfile/main.cpp')
-rw-r--r--tests/benchmarks/corelib/io/qfile/main.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/benchmarks/corelib/io/qfile/main.cpp b/tests/benchmarks/corelib/io/qfile/main.cpp
index 14d8ea47d5..9c8684db0c 100644
--- a/tests/benchmarks/corelib/io/qfile/main.cpp
+++ b/tests/benchmarks/corelib/io/qfile/main.cpp
@@ -60,16 +60,16 @@
// 10 predefined (but random() seek positions
// hardcoded to be comparable over several runs
-const int seekpos[] = {TF_SIZE*0.52,
- TF_SIZE*0.23,
- TF_SIZE*0.73,
- TF_SIZE*0.77,
- TF_SIZE*0.80,
- TF_SIZE*0.12,
- TF_SIZE*0.53,
- TF_SIZE*0.21,
- TF_SIZE*0.27,
- TF_SIZE*0.78};
+const int seekpos[] = {int(TF_SIZE*0.52),
+ int(TF_SIZE*0.23),
+ int(TF_SIZE*0.73),
+ int(TF_SIZE*0.77),
+ int(TF_SIZE*0.80),
+ int(TF_SIZE*0.12),
+ int(TF_SIZE*0.53),
+ int(TF_SIZE*0.21),
+ int(TF_SIZE*0.27),
+ int(TF_SIZE*0.78)};
const int sp_size = sizeof(seekpos)/sizeof(int);