From 856ffcfa5e998f323c8f40a215e5695cd6d5e75b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 26 Jan 2023 22:55:12 +0100 Subject: [PATCH] Drop unnecessary cast to same type --- src/faillog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/faillog.c b/src/faillog.c index dbcf5a5f9..1fee5c9b0 100644 --- a/src/faillog.c +++ b/src/faillog.c @@ -291,7 +291,7 @@ static void reset (void) while ( (pwent = getpwent ()) != NULL ) { if ( uflg && ( (has_umin && (pwent->pw_uid < (uid_t)umin)) - || (pwent->pw_uid > (uid_t)uidmax))) { + || (pwent->pw_uid > uidmax))) { continue; } if (reset_one (pwent->pw_uid)) { -- 2.47.2