]> Zhao Yanbai Git Server - minix.git/commitdiff
fix compiler warning
authorBen Gras <ben@minix3.org>
Mon, 5 Oct 2009 16:40:21 +0000 (16:40 +0000)
committerBen Gras <ben@minix3.org>
Mon, 5 Oct 2009 16:40:21 +0000 (16:40 +0000)
lib/syslib/vm_allocmem.c

index 725ac54cecf5823e985f5e9dd368f0c7f372f013..a277fcf7d1eef71cab4a30774fc4d8a89e62dfe3 100644 (file)
@@ -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;