Minor fix to Process methods

develop
Timothy Collett 2013-03-14 13:32:39 -04:00
parent 52834ec454
commit d78a5593cc
1 changed files with 2 additions and 2 deletions

@ -312,12 +312,12 @@ void* Process::memAlloc(const int length)
return mmap(0, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); return mmap(0, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0);
} }
int Process::memDealloc(const void *ptr, const int length) int Process::memDealloc(void *ptr, const int length)
{ {
return munmap(ptr, length); return munmap(ptr, length);
} }
int Process::memProtect(const void *ptr, const int length, const int prot) int Process::memProtect(void *ptr, const int length, const int prot)
{ {
int prot_native = 0; int prot_native = 0;