summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-02-27 23:53:02 +0000
committerpeter <peter@FreeBSD.org>2002-02-27 23:53:02 +0000
commit452d13f6510aef85dcd80255dd010a4c0ef76e1f (patch)
tree1f93ca38b2456573f8c7feb945bb94df9362a252 /sys/dev/hea
parent8fc732f9587265e8da3ceec0c55e1123e6ea8e27 (diff)
downloadFreeBSD-src-452d13f6510aef85dcd80255dd010a4c0ef76e1f.zip
FreeBSD-src-452d13f6510aef85dcd80255dd010a4c0ef76e1f.tar.gz
Fix warnings
Diffstat (limited to 'sys/dev/hea')
-rw-r--r--sys/dev/hea/eni_buffer.c2
-rw-r--r--sys/dev/hea/eni_vcm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hea/eni_buffer.c b/sys/dev/hea/eni_buffer.c
index e116c83..5fc9d48 100644
--- a/sys/dev/hea/eni_buffer.c
+++ b/sys/dev/hea/eni_buffer.c
@@ -121,7 +121,7 @@ eni_test_memory ( eup )
* This makes sure we don't leave anything funny in the
* queues.
*/
- KM_ZERO ( eup->eu_ram, ram_size );
+ KM_ZERO ( (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 0af1f32..4e6f743 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
*/
- KM_ZERO ( (caddr_t)vct, sizeof(VCI_Table) );
+ KM_ZERO ( (uintptr_t)vct, sizeof(VCI_Table) );
return ( err );
}
OpenPOWER on IntegriCloud