From 1e7823dd4ec1e0d0fc653ad7665a6496b32882df Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Thu, 28 Mar 2019 21:42:57 +0800 Subject: [PATCH] src: remove redundant call in node_options-inl.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26959 Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann Reviewed-By: Tobias Nießen --- src/node_options-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_options-inl.h b/src/node_options-inl.h index 9c8d24e29e9c7d..8fc2feff4dc6d4 100644 --- a/src/node_options-inl.h +++ b/src/node_options-inl.h @@ -416,7 +416,7 @@ void OptionsParser::Parse( *Lookup(info.field, options) = std::atoll(value.c_str()); break; case kUInteger: - *Lookup(info.field, options) = std::stoull(value.c_str()); + *Lookup(info.field, options) = std::stoull(value); break; case kString: *Lookup(info.field, options) = value;