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:
Robert Drehmel 2002-10-16 11:15:35 +00:00
parent d43a66251d
commit 4bcea0f89c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105232
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 );
}