aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index d9695c8..6b85533 100644
--- a/misc.c
+++ b/misc.c
@@ -202,7 +202,7 @@ char *fgetline(FILE *fp)
return ret;
}
-bool getenv_bool(const char *name, bool dflt)
+int getenv_bool(const char *name, int dflt)
{
char *env = getenv(name);
if (env == NULL) return dflt;