diff options
author | lloyd <[email protected]> | 2010-10-12 15:40:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 15:40:31 +0000 |
commit | 18a58396b7bb2925a33c57b17f1820b386b54c2d (patch) | |
tree | 42b2707148ffc2a869f7bb44507ec575e0067d10 /src/alloc/allocate.h | |
parent | ff173a4edb68992d30deed57590fd04c54488a93 (diff) |
s/u32bit/size_t/ in alloc
Also handle partial writes in alloc_mmap
Diffstat (limited to 'src/alloc/allocate.h')
-rw-r--r-- | src/alloc/allocate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc/allocate.h b/src/alloc/allocate.h index 5bce1f205..b8574be1e 100644 --- a/src/alloc/allocate.h +++ b/src/alloc/allocate.h @@ -33,14 +33,14 @@ class BOTAN_DLL Allocator * @param n how many bytes to allocate * @return pointer to n bytes of memory */ - virtual void* allocate(u32bit n) = 0; + virtual void* allocate(size_t n) = 0; /** * Deallocate memory allocated with allocate() * @param ptr the pointer returned by allocate() * @param n the size of the block pointed to by ptr */ - virtual void deallocate(void* ptr, u32bit n) = 0; + virtual void deallocate(void* ptr, size_t n) = 0; /** * @return name of this allocator type |