mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Cast the first argument to bzero() to `void *' after casting it to
`uintptr_t' to pass it as the type bzero() expects.
This commit is contained in:
parent
d43a66251d
commit
4bcea0f89c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105232
|
@ -124,7 +124,7 @@ eni_test_memory ( eup )
|
|||
* This makes sure we don't leave anything funny in the
|
||||
* queues.
|
||||
*/
|
||||
bzero ( (uintptr_t)eup->eu_ram, ram_size );
|
||||
bzero ( (void *)(uintptr_t)eup->eu_ram, ram_size );
|
||||
|
||||
/*
|
||||
* If we'd like to claim to have less memory, here's where
|
||||
|
|
|
@ -286,7 +286,7 @@ eni_closevcc ( cup, cvp )
|
|||
/*
|
||||
* Reset everything
|
||||
*/
|
||||
bzero ( (uintptr_t)vct, sizeof(VCI_Table) );
|
||||
bzero ( (void *)(uintptr_t)vct, sizeof(VCI_Table) );
|
||||
|
||||
return ( err );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue