diff options
Diffstat (limited to 'src/utils/mlock.h')
-rw-r--r-- | src/utils/mlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/mlock.h b/src/utils/mlock.h index fea56d438..88788472d 100644 --- a/src/utils/mlock.h +++ b/src/utils/mlock.h @@ -23,14 +23,14 @@ bool has_mlock(); * @param length the length of the memory block in bytes * @returns true if successful, false otherwise */ -bool lock_mem(void* addr, u32bit length); +bool lock_mem(void* addr, size_t length); /** * Unlock memory locked with lock_mem() * @param addr the start of the memory block * @param length the length of the memory block in bytes */ -void unlock_mem(void* addr, u32bit length); +void unlock_mem(void* addr, size_t length); } |