mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
Remove one more external function
This commit is contained in:
parent
4591b3a4fa
commit
752409417f
1 changed files with 1 additions and 1 deletions
2
opts.c
2
opts.c
|
@ -257,7 +257,7 @@ static size_t opts_ini_parse (
|
|||
static bool opts_ini_bool(const char *value) {
|
||||
if (!strcmp(value, "true")) return true;
|
||||
if (!strcmp(value, "false")) return false;
|
||||
return !!strtoul(value, NULL, 10);
|
||||
return !!strtol(value, NULL, 10);
|
||||
}
|
||||
|
||||
static char *opts_ini_load(const char *section, const char *name, const char *value) {
|
||||
|
|
Loading…
Reference in a new issue