From: Dale Weiler Date: Sun, 14 Apr 2013 01:29:50 +0000 (+0000) Subject: Remove one more external function X-Git-Tag: before-library~66 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=752409417f6b078f9a4339c0d6bee208e97bcf0e;p=xonotic%2Fgmqcc.git Remove one more external function --- diff --git a/opts.c b/opts.c index 5a6cb40..5a1ee1c 100644 --- a/opts.c +++ b/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) {