diff options
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()); } |