]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Drop unnecessary cast to same type
authorChristian Göttsche <cgzones@googlemail.com>
Thu, 26 Jan 2023 21:55:12 +0000 (22:55 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 21 Aug 2023 09:43:30 +0000 (11:43 +0200)
src/faillog.c

index dbcf5a5f9f7ca41692f9f0d7a4ed44c302b35d39..1fee5c9b0afe6a2b8f4e5988294b9a5c53ee46ca 100644 (file)
@@ -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)) {