Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-24 | Fix the signed-ness within ConvToNum char overloads. | Matt Schatz | |
It should be signed int with signed char and vice-versa. Currently, anything over 127 as unsigned char would return 0. | |||
2020-01-11 | Update copyright headers. | InspIRCd Robot | |
2019-01-28 | Add overloads for ConvToNum to prevent (unsigned) char weirdness. | Peter Powell | |
2018-12-12 | Fix conversion issues by replacing ConvToInt with ConvToNum<T>. | Peter Powell | |
The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. | |||
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2016-02-25 | Add no-op ConvToStr(const std::string&) | Attila Molnar | |
2016-02-25 | Move implementation of ConvTo*() and related functions into convto.h | Attila Molnar | |