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
@@ -67,7 +67,7 @@ void dolastlog (
|
||||
* the way we read the old one in.
|
||||
*/
|
||||
|
||||
if (read (fd, (void *) &newlog, sizeof newlog) != (ssize_t) sizeof newlog) {
|
||||
if (read (fd, &newlog, sizeof newlog) != (ssize_t) sizeof newlog) {
|
||||
memzero (&newlog, sizeof newlog);
|
||||
}
|
||||
if (NULL != ll) {
|
||||
|
||||
Reference in New Issue
Block a user