fix compiler warning
This commit is contained in:
parent
1a85c6be78
commit
2f4ea30d96
@ -11,7 +11,7 @@ PUBLIC int vm_allocmem(phys_clicks bytes, phys_clicks *retmembase)
|
|||||||
message m;
|
message m;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
m.VMAM_BYTES = bytes;
|
m.VMAM_BYTES = (char *) bytes;
|
||||||
result = _taskcall(VM_PROC_NR, VM_ALLOCMEM, &m);
|
result = _taskcall(VM_PROC_NR, VM_ALLOCMEM, &m);
|
||||||
if(result == OK)
|
if(result == OK)
|
||||||
*retmembase = m.VMAM_MEMBASE;
|
*retmembase = m.VMAM_MEMBASE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user