diff --git a/sys/dev/hea/eni_buffer.c b/sys/dev/hea/eni_buffer.c index 026ce5dc58e..e113b55663c 100644 --- a/sys/dev/hea/eni_buffer.c +++ b/sys/dev/hea/eni_buffer.c @@ -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 diff --git a/sys/dev/hea/eni_vcm.c b/sys/dev/hea/eni_vcm.c index c406c70f500..38d44234d0a 100644 --- a/sys/dev/hea/eni_vcm.c +++ b/sys/dev/hea/eni_vcm.c @@ -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 ); }