From d3106cb44a48ca000985cce5696402563b6da02d Mon Sep 17 00:00:00 2001 From: mycroft Date: Sat, 8 Jan 1994 05:51:17 +0000 Subject: [PATCH] Fix some casting. --- sys/kern/kern_lkm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c index 1c096615f96d..780b98b63104 100644 --- a/sys/kern/kern_lkm.c +++ b/sys/kern/kern_lkm.c @@ -36,7 +36,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_lkm.c,v 1.7 1993/12/18 04:20:40 mycroft Exp $ + * $Id: kern_lkm.c,v 1.8 1994/01/08 05:51:17 mycroft Exp $ */ #include @@ -210,11 +210,11 @@ int flag; */ curp->size = resrvp->size; - curp->area = (char *)kmem_alloc( kmem_map, curp->size);/**/ + curp->area = kmem_alloc( kmem_map, curp->size);/**/ curp->offset = 0; /* load offset*/ - resrvp->addr = (unsigned long)curp->area; /* ret kernel addr*/ + resrvp->addr = curp->area; /* ret kernel addr*/ #ifdef DEBUG printf( "LKM: LMRESERV (actual = 0x%08x)\n", curp->area);