From 3d7a869b396592c5367653702751be979baf449d Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 18 Jun 2002 16:32:36 -0400 Subject: [PATCH] ERR: Fix for fprintf format warning. --- Source/ctest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 38bd10d12..09f9b31dc 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -320,7 +320,7 @@ int main (int argc, char *argv[]) float percent = float(passed.size()) * 100.0f / total; fprintf(stderr,"\n%.0f%% tests passed, %i tests failed out of %i\n", - percent, failed.size(), total); + percent, int(failed.size()), total); if (failed.size()) {