use the correct pointer casts

pull/3038/head
Isaac Connor 2017-01-16 21:57:21 -05:00
parent 1f3644f6bd
commit 7116d66500
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public:
mHead = mTail = mStorage;
else if ( level )
{
if ( ((unsigned int)mHead-(unsigned int)mStorage) > mSize )
if ( ((uintptr_t)mHead-(uintptr_t)mStorage) > mSize )
{
memcpy( mStorage, mHead, mSize );
mHead = mStorage;