From d6a796ba1a1c9c588960ae18225803ef1fdd03da 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 3fd7e68f60..a6fc88c0a3 100644 --- a/src/common/settings_setting.h +++ b/src/common/settings_setting.h @@ -198,13 +198,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))); } }