We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7347123 commit 1e7823dCopy full SHA for 1e7823d
src/node_options-inl.h
@@ -416,7 +416,7 @@ void OptionsParser<Options>::Parse(
416
*Lookup<int64_t>(info.field, options) = std::atoll(value.c_str());
417
break;
418
case kUInteger:
419
- *Lookup<uint64_t>(info.field, options) = std::stoull(value.c_str());
+ *Lookup<uint64_t>(info.field, options) = std::stoull(value);
420
421
case kString:
422
*Lookup<std::string>(info.field, options) = value;
0 commit comments