From bef129bd8c4ad6389ad556c93aba5f37f204892f Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 10 Dec 2019 22:46:04 -0500 Subject: [PATCH] typo --- link.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/link.cpp b/link.cpp index 5eb97f5..b7a640b 100644 --- a/link.cpp +++ b/link.cpp @@ -14,8 +14,9 @@ #include #endif -#include #include +#include +#include #include #include @@ -415,7 +416,7 @@ bool parse_number(const char *begin, const char *end, uint32_t &value, int base auto xerrno = errno; errno = 0; char *ptr = nullptr; - value = stroul(begin, &ptr, base); + value = std::strtoul(begin, &ptr, base); std::swap(errno, xerrno); if (xerrno || ptr != end) { return false;