summaryrefslogtreecommitdiff
path: root/test/performance
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2016-02-08 20:44:05 +0100
committerCNugteren <web@cedricnugteren.nl>2016-02-08 20:44:05 +0100
commitfadd76207fed5aeb87de7caf744397b008c6d784 (patch)
treefe582782b247d0de498ee81de90a5fe11a4d5e16 /test/performance
parentbf84463ab20f2f39071719fad9bd28a6bb13fc24 (diff)
Fixed warnings under MSVC
Diffstat (limited to 'test/performance')
-rw-r--r--test/performance/client.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/performance/client.cc b/test/performance/client.cc
index c0c91aec..ce97d273 100644
--- a/test/performance/client.cc
+++ b/test/performance/client.cc
@@ -272,13 +272,13 @@ void Client<T,U>::PrintTableRow(const Arguments<U>& args, const double ms_clblas
// Outputs the argument values
for (auto &argument: integers) {
if (!args.no_abbrv && argument >= 1024*1024 && IsMultiple(argument, 1024*1024)) {
- fprintf(stdout, "%8luM;", argument/(1024*1024));
+ fprintf(stdout, "%8zuM;", argument/(1024*1024));
}
else if (!args.no_abbrv && argument >= 1024 && IsMultiple(argument, 1024)) {
- fprintf(stdout, "%8luK;", argument/1024);
+ fprintf(stdout, "%8zuK;", argument/1024);
}
else {
- fprintf(stdout, "%9lu;", argument);
+ fprintf(stdout, "%9zu;", argument);
}
}
for (auto &argument: strings) {