diff options
author | Ivan Shapovalov <intelfx@intelfx.name> | 2017-01-24 02:01:08 +0300 |
---|---|---|
committer | Ivan Shapovalov <intelfx@intelfx.name> | 2017-01-24 02:55:09 +0300 |
commit | 064ba4abd4d4c4d2dfeaa3b22e03d7c83a0d4acb (patch) | |
tree | 992f505d53a72eead046849e161c61d98cd90b51 /test/correctness | |
parent | 519ccbd27354280d4210db1c1fa8f239b1794b14 (diff) |
treewide: silence type mismatch warnings in *printf()
Diffstat (limited to 'test/correctness')
-rw-r--r-- | test/correctness/tester.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/correctness/tester.cpp b/test/correctness/tester.cpp index b1ca8122..efe49811 100644 --- a/test/correctness/tester.cpp +++ b/test/correctness/tester.cpp @@ -402,7 +402,9 @@ void Tester<T,U>::PrintErrorLog(const std::vector<ErrorLogEntry> &error_log) { fprintf(stdout, " Error rate %.1lf%%: ", entry.error_percentage); } else { - fprintf(stdout, " Status code %d (expected %d): ", entry.status_found, entry.status_expect); + fprintf(stdout, " Status code %d (expected %d): ", + static_cast<int>(entry.status_found), + static_cast<int>(entry.status_expect)); } fprintf(stdout, "%s\n", GetOptionsString(entry.args).c_str()); } |