Fix compiler error on 64-bit: error: cast from ‘char*’ to ‘U32 {aka unsigned int}’ loses precision
This commit is contained in:
@@ -250,7 +250,7 @@ public:
|
||||
{
|
||||
bool operator()(const LLMemoryBlock* const& lhs, const LLMemoryBlock* const& rhs)
|
||||
{
|
||||
return (U32)lhs->getBuffer() < (U32)rhs->getBuffer();
|
||||
return (size_t)lhs->getBuffer() < (size_t)rhs->getBuffer();
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -526,4 +526,4 @@ void LLPrivateMemoryPoolTester::operator delete[](void* addr)
|
||||
#include "llsingleton.h"
|
||||
#include "llsafehandle.h"
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user