summaryrefslogtreecommitdiffstats
path: root/login-utils/logindefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/logindefs.c')
-rw-r--r--login-utils/logindefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/logindefs.c b/login-utils/logindefs.c
index ebf1a9f3a..07a977660 100644
--- a/login-utils/logindefs.c
+++ b/login-utils/logindefs.c
@@ -196,7 +196,7 @@ int getlogindefs_bool(const char *name, int dflt)
return ptr && ptr->value ? (strcasecmp(ptr->value, "yes") == 0) : dflt;
}
-unsigned long getlogindefs_num(const char *name, long dflt)
+unsigned long getlogindefs_num(const char *name, unsigned long dflt)
{
struct item *ptr = search(name);
char *end = NULL;