From bc58fe6485930000fcd02c1139843155198941ca Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Sun, 6 Jul 2008 22:06:08 -0400 Subject: [PATCH] COMP: fix warning --- Source/CTest/cmCTestTestHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index c2949790bb..90a33cb73b 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1804,7 +1804,7 @@ void cmCTestTestHandler::ExpandTestsToRunInformation(size_t numTests) // if end isnot specified then we assume we end with the last test if(end == -1) { - end = numTests; + end = static_cast(numTests); } // if the stride wasn't specified then it defaults to 1