summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx')
-rw-r--r--Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx b/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
index daf8a2d..5c6c8d8 100644
--- a/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
+++ b/Tests/RunCMake/CTestResourceAllocation/ctresalloc.cxx
@@ -89,7 +89,8 @@ static int doWrite(int argc, char const* const* argv)
return 1;
}
int resourceGroupCount = std::atoi(resourceGroupCountEnv);
- if (resourceGroups.size() != std::size_t(resourceGroupCount)) {
+ if (resourceGroups.size() !=
+ static_cast<std::size_t>(resourceGroupCount)) {
std::cout
<< "CTEST_RESOURCE_GROUP_COUNT does not match expected resource groups"
<< std::endl