summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-06-18 20:32:36 (GMT)
committerBrad King <brad.king@kitware.com>2002-06-18 20:32:36 (GMT)
commit3d7a869b396592c5367653702751be979baf449d (patch)
tree91de394876d60c365e4adcb9b040a7de9ed42d76 /Source/ctest.cxx
parent50be646b79b8d3f68f4974277e326f28a91153c3 (diff)
downloadCMake-3d7a869b396592c5367653702751be979baf449d.zip
CMake-3d7a869b396592c5367653702751be979baf449d.tar.gz
CMake-3d7a869b396592c5367653702751be979baf449d.tar.bz2
ERR: Fix for fprintf format warning.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 38bd10d..09f9b31 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())
{