use the correct pointer casts
parent
1f3644f6bd
commit
7116d66500
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue