diff options
Diffstat (limited to 'src/utilcode/loaderheap.cpp')
-rw-r--r-- | src/utilcode/loaderheap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilcode/loaderheap.cpp b/src/utilcode/loaderheap.cpp index caa01b7064..1f432a9179 100644 --- a/src/utilcode/loaderheap.cpp +++ b/src/utilcode/loaderheap.cpp @@ -1741,7 +1741,7 @@ void *UnlockedLoaderHeap::UnlockedAllocMemForCode_NoThrow(size_t dwHeaderSize, s // which address will be handed out which in turn we don't know because we don't // know whether the allocation will fit within the current reserved range. // - // Thus, we'll request as much heap growth as is needed for the worst case (we request an extra dwCodeAlignment – 1 bytes) + // Thus, we'll request as much heap growth as is needed for the worst case (we request an extra dwCodeAlignment - 1 bytes) S_SIZE_T cbAllocSize = S_SIZE_T(dwHeaderSize) + S_SIZE_T(dwCodeSize) + S_SIZE_T(dwCodeAlignment - 1); if( cbAllocSize.IsOverflow() ) |