aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/mlock.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:20:49 +0000
committerlloyd <[email protected]>2010-10-13 02:20:49 +0000
commitc00da53d958ef8c266012ae9425337143f14f46e (patch)
tree144932858569f60d1fbfe2f079638819a123accb /src/utils/mlock.h
parentfe4119c74b5e81a354a5313e4d2efbf9a135aa81 (diff)
s/u32bit/size_t/ in utils
Diffstat (limited to 'src/utils/mlock.h')
-rw-r--r--src/utils/mlock.h4
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);
}