Skip to content

Commit b05bb00

Browse files
committed
ENH: Make type sign match for comparison
1 parent e544261 commit b05bb00

File tree

1 file changed

+1
-1
lines changed
  • src/Core/Common/SetDefaultNumberOfThreads

1 file changed

+1
-1
lines changed

src/Core/Common/SetDefaultNumberOfThreads/Code.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ main(int argc, char * argv[])
3030
return EXIT_FAILURE;
3131
}
3232

33-
const auto numberOfThreads = std::atoi(argv[1]);
33+
const auto numberOfThreads = static_cast<unsigned int>(std::atoi(argv[1]));
3434

3535
itk::MultiThreaderBase::SetGlobalDefaultNumberOfThreads(numberOfThreads);
3636

0 commit comments

Comments
 (0)