]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/chkname.c: is_valid_user_name(): Avoid a cast
authorAlejandro Colomar <alx@kernel.org>
Mon, 5 Feb 2024 11:40:51 +0000 (12:40 +0100)
committerSerge Hallyn <serge@hallyn.com>
Tue, 13 Feb 2024 22:13:05 +0000 (16:13 -0600)
commitf22ca217cdcdde5eae610b2fd982a93252c30f86
tree3beffb890cd6b381a96917e75f22a46c93929b03
parentad307ee42aff04245b154c71506309c0244e412a
lib/chkname.c: is_valid_user_name(): Avoid a cast

By using a temporary vairable, we can remove a cast.

Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Cc: Tobias Stoeckmann <tobias@stoeckmann.org>
Cc: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/chkname.c