Fix SpatialArrayReserve::SetBlockSize function declaration to match definition.

The function was defined to use uptr, but the declaration was using uint.
This commit is contained in:
Ryan Houdek 2014-07-05 04:59:31 -05:00
parent 08ef4bfbff
commit 182e826dc5
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ SpatialArrayReserve& SpatialArrayReserve::SetBlockSizeInPages( uint pages )
//
// This method must be called prior to accessing or modifying the array contents. Calls to
// a modified buffer will be ignored (and generate an assertion in dev/debug modes).
uint SpatialArrayReserve::SetBlockSize( uint bytes )
uptr SpatialArrayReserve::SetBlockSize( uptr bytes )
{
SetBlockSizeInPages((bytes + __pagesize - 1) / __pagesize);
return m_blocksize * __pagesize;