mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -412,7 +412,7 @@ void TSShapeLoader::generateObjects()
|
|||
AppMesh* mesh = subshape->objMeshes[iMesh];
|
||||
mesh->detailSize = 2;
|
||||
String name = String::GetTrailingNumber( mesh->getName(), mesh->detailSize );
|
||||
name = getUniqueName( name, cmpMeshNameAndSize, meshNames, &(subshape->objMeshes), (void*)mesh->detailSize );
|
||||
name = getUniqueName( name, cmpMeshNameAndSize, meshNames, &(subshape->objMeshes), (void*)(uintptr_t)mesh->detailSize );
|
||||
meshNames.push_back( name );
|
||||
|
||||
// Fix up any collision details that don't have a negative detail level.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue