From f5fbe71d956957ca7ceb6777aed05a416fc83a43 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 3 Mar 2021 13:07:10 +0900 Subject: tree-wide: use UINT64_MAX or friends --- src/firstboot/firstboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/firstboot') diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index c0e88e7915..feb682792d 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -771,7 +771,7 @@ static int write_root_shadow(const char *shadow_path, const char *hashed_passwor .sp_warn = -1, .sp_inact = -1, .sp_expire = -1, - .sp_flag = (unsigned long) -1, /* this appears to be what everybody does ... */ + .sp_flag = ULONG_MAX, /* this appears to be what everybody does ... */ }; if (errno != ENOENT) -- cgit v1.2.1