summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step9/MathFunctions/mysqrt.h
diff options
context:
space:
mode:
authorDavid Gobbi <david.gobbi@gmail.com>2023-02-20 15:59:11 (GMT)
committerBrad King <brad.king@kitware.com>2023-02-20 17:54:43 (GMT)
commitaa86e8ddfd6b9dc12e54aeb7e5b5c1503c272c42 (patch)
tree0a1b71b1a30b144a97d6f54647f6507b67a1f152 /Help/guide/tutorial/Step9/MathFunctions/mysqrt.h
parent7e730d8f7f7af927a52cd1b7668c64b4c82daa4a (diff)
downloadCMake-aa86e8ddfd6b9dc12e54aeb7e5b5c1503c272c42.zip
CMake-aa86e8ddfd6b9dc12e54aeb7e5b5c1503c272c42.tar.gz
CMake-aa86e8ddfd6b9dc12e54aeb7e5b5c1503c272c42.tar.bz2
Remove component size limit for version comparisons
The VersionCompare() function converted version components to 'unsigned long' prior to comparing them. Any version components too large for 'unsigned long' were treated as equal to ULONG_MAX. This impacted operators like VERSION_GREATER, VERSION_LESS, and VERSION_EQUAL. The new code does not limit the length of the version components for valid comparisons.
Diffstat (limited to 'Help/guide/tutorial/Step9/MathFunctions/mysqrt.h')
0 files changed, 0 insertions, 0 deletions