mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 17:43:44 +00:00
Clean up MSVC warning [C4312] conversion from type to type * of greater size
This commit is contained in:
parent
265e64f6fc
commit
31d0eb16f8
21 changed files with 39 additions and 39 deletions
|
|
@ -131,7 +131,7 @@ void GFXGLPrimitiveBuffer::finish()
|
|||
GLvoid* GFXGLPrimitiveBuffer::getBuffer()
|
||||
{
|
||||
// NULL specifies no offset into the hardware buffer
|
||||
return (GLvoid*)mBufferOffset;
|
||||
return (GLvoid*)(uintptr_t)mBufferOffset;
|
||||
}
|
||||
|
||||
void GFXGLPrimitiveBuffer::zombify()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue