mirror of https://github.com/Kitware/CMake.git
Browse Source
Convert the StringToInt helper into a StringToLong helper with a 'long' result type. This will make the helper more useful to other callers that want to use strtol. While at it, also check errno after calling strtol in case the conversion fails with a range error.pull/135/head

committed by
Brad King

9 changed files with 27 additions and 23 deletions
Loading…
Reference in new issue