Remove superfluous casts to 'void*'
Every non-const pointer converts automatically to it. Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
62172f6fb5
commit
1f6f1669cf
@ -47,7 +47,7 @@ static const char *shadow_getname (const void *ent)
|
||||
|
||||
static void *shadow_parse (const char *line)
|
||||
{
|
||||
return (void *) sgetspent (line);
|
||||
return sgetspent (line);
|
||||
}
|
||||
|
||||
static int shadow_put (const void *ent, FILE * file)
|
||||
|
Reference in New Issue
Block a user