From efceeef46fa2b46ec1e1bf8202cb49a073516d2f Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 20 May 2026 14:57:42 +0000 Subject: [PATCH] ok --- src/common/settings_setting.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h index 2230d3bd18..a9d2e6567b 100644 --- a/src/common/settings_setting.h +++ b/src/common/settings_setting.h @@ -191,13 +191,13 @@ public: if constexpr (std::is_same_v) { this->SetValue(input); } else if constexpr (std::is_same_v>) { - this->SetValue(u32(std::strtoul(input.c_str(), NULL, 10))); + this->SetValue(u32(std::strtoul(input.c_str(), nullptr, 10))); } else if constexpr (std::is_same_v) { this->SetValue(input == "true"); } else if constexpr (std::is_same_v) { - this->SetValue(std::strtof(input.c_str(), NULL)); + this->SetValue(std::strtof(input.c_str(), nullptr)); } else { - this->SetValue(Type(std::strtoll(input.c_str(), NULL))); + this->SetValue(Type(std::strtoll(input.c_str(), nullptr, 10))); } }