diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-12-12 14:03:32 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-12-12 14:03:32 -0500 |
| commit | 29d768609375a5c9e01750a4be691b7b1c9434b5 (patch) | |
| tree | c6ed701ad69223fa1eef9425254a64c0ba86b160 /src/memory.cpp | |
| parent | ba250cc496b2e617823ff8111ef463b6adea27f4 (diff) | |
use specific types for handle indexes consistently
Diffstat (limited to 'src/memory.cpp')
| -rw-r--r-- | src/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.cpp b/src/memory.cpp index 7ad282c..8acfb4d 100644 --- a/src/memory.cpp +++ b/src/memory.cpp @@ -344,7 +344,7 @@ void Pke_MemoryFlush() { } } -PkeHandle Buckets_NewHandle(std::size_t bucketBytes, std::size_t alignment, uint32_t bucketItemCount, uint32_t &bucketIncrementer, uint32_t &bucketCounter, uint32_t &itemCounter, void*& buckets, bool &moved) { +PkeHandle Buckets_NewHandle(std::size_t bucketBytes, std::size_t alignment, PkeHandleItemIndex_T bucketItemCount, PkeHandleBucketIndex_T &bucketIncrementer, PkeHandleBucketIndex_T &bucketCounter, PkeHandleItemIndex_T &itemCounter, void*& buckets, bool &moved) { moved = false; PkeHandle returnValue { .bucketIndex = bucketCounter, |
