From: Ben Gras Date: Mon, 5 Oct 2009 16:40:21 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: v3.1.5~26 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=2f4ea30d964660dbdc760027a28e23c5a2ef4409;p=minix.git fix compiler warning --- diff --git a/lib/syslib/vm_allocmem.c b/lib/syslib/vm_allocmem.c index 725ac54ce..a277fcf7d 100644 --- a/lib/syslib/vm_allocmem.c +++ b/lib/syslib/vm_allocmem.c @@ -11,7 +11,7 @@ PUBLIC int vm_allocmem(phys_clicks bytes, phys_clicks *retmembase) message m; int result; - m.VMAM_BYTES = bytes; + m.VMAM_BYTES = (char *) bytes; result = _taskcall(VM_PROC_NR, VM_ALLOCMEM, &m); if(result == OK) *retmembase = m.VMAM_MEMBASE;