mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
5e8c176e2a
As the 'char' type may be either signed, or unsigned, there are some clashes between C Standard library functions and actual characters while casting it to int directly. In case the 'char' type was signed, the casted to int result value may be extended to full negative digit which may be out of range of isspace() function (e.g. , for MSVC implementation, which checks it for '> -1', and throwing an assertion failure on fail). Fixes: #25561
18 KiB
18 KiB