Merge branch 'master' into jgrpp
# Conflicts: # .github/workflows/release-macos.yml # src/company_gui.cpp # src/linkgraph/linkgraph.cpp # src/newgrf_debug_gui.cpp # src/strgen/strgen_base.cpp # src/timetable_gui.cpp
This commit is contained in:
@@ -262,7 +262,7 @@ void SetDebugString(const char *s, void (*error_func)(const char *))
|
||||
if (*s >= '0' && *s <= '9') {
|
||||
const DebugLevel *i;
|
||||
|
||||
v = strtoul(s, &end, 0);
|
||||
v = std::strtoul(s, &end, 0);
|
||||
s = end;
|
||||
|
||||
for (i = debug_level; i != endof(debug_level); ++i) {
|
||||
@@ -289,7 +289,7 @@ void SetDebugString(const char *s, void (*error_func)(const char *))
|
||||
}
|
||||
|
||||
if (*s == '=') s++;
|
||||
v = strtoul(s, &end, 0);
|
||||
v = std::strtoul(s, &end, 0);
|
||||
s = end;
|
||||
if (found != nullptr) {
|
||||
new_levels[found->name] = v;
|
||||
|
Reference in New Issue
Block a user