diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2002-10-16 11:15:35 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2002-10-16 11:15:35 +0000 |
commit | 4bcea0f89cfe0aebea13add97b1b998bcafc8c39 (patch) | |
tree | 0d65275cc8c535037892d1d5023acaa2c5b58755 /sys/dev/hea | |
parent | d43a66251d9e42a48597de857a5dbcdda8deef41 (diff) |
Cast the first argument to bzero() to `void *' after casting it to
`uintptr_t' to pass it as the type bzero() expects.
Notes
Notes:
svn path=/head/; revision=105232
Diffstat (limited to 'sys/dev/hea')
-rw-r--r-- | sys/dev/hea/eni_buffer.c | 2 | ||||
-rw-r--r-- | sys/dev/hea/eni_vcm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hea/eni_buffer.c b/sys/dev/hea/eni_buffer.c index 026ce5dc58e3..e113b55663ce 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 c406c70f5000..38d44234d0a1 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 ); } |