mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-03 09:22:45 +00:00
Small fix in Mem_Alloc16(): int->size_t
This commit is contained in:
parent
e3584014b9
commit
f77ca851d5
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void* Mem_Alloc16( const size_t size, const memTag_t tag )
|
|||
{
|
||||
return NULL;
|
||||
}
|
||||
const int paddedSize = ( size + 15 ) & ~15;
|
||||
const size_t paddedSize = ( size + 15 ) & ~15;
|
||||
#ifdef _WIN32
|
||||
// this should work with MSVC and mingw, as long as __MSVCRT_VERSION__ >= 0x0700
|
||||
return _aligned_malloc( paddedSize, 16 );
|
||||
|
|
Loading…
Reference in a new issue