diff options
author | robert <robert@FreeBSD.org> | 2002-10-16 11:15:35 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-10-16 11:15:35 +0000 |
commit | 1ff9dd778b578b4c35ac8c79b4d8289b24b4653b (patch) | |
tree | 0d65275cc8c535037892d1d5023acaa2c5b58755 /sys/dev/hea/eni_buffer.c | |
parent | 7794fad2809bc49dc61dbc637fcac3953af7d1ed (diff) | |
download | FreeBSD-src-1ff9dd778b578b4c35ac8c79b4d8289b24b4653b.zip FreeBSD-src-1ff9dd778b578b4c35ac8c79b4d8289b24b4653b.tar.gz |
Cast the first argument to bzero() to `void *' after casting it to
`uintptr_t' to pass it as the type bzero() expects.
Diffstat (limited to 'sys/dev/hea/eni_buffer.c')
-rw-r--r-- | sys/dev/hea/eni_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hea/eni_buffer.c b/sys/dev/hea/eni_buffer.c index 026ce5d..e113b55 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 |