mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Linux implementation. Include changes for gcc x64.
This commit is contained in:
parent
4e52824a42
commit
4e9034854d
56 changed files with 1108 additions and 3075 deletions
|
|
@ -924,7 +924,7 @@ SimObject* GuiListBoxCtrl::getItemObject( S32 index )
|
|||
}
|
||||
|
||||
SimObject *outObj;
|
||||
Sim::findObject( (SimObjectId)(mItems[ index ]->itemData), outObj );
|
||||
Sim::findObject( (SimObjectId)(uintptr_t)(mItems[ index ]->itemData), outObj );
|
||||
|
||||
return outObj;
|
||||
}
|
||||
|
|
@ -1481,7 +1481,7 @@ void GuiListBoxCtrl::_mirror()
|
|||
|
||||
for ( U32 i = 0; i < mItems.size(); i++ )
|
||||
{
|
||||
curId = (SimObjectId)mItems[i]->itemData;
|
||||
curId = (SimObjectId)(uintptr_t)mItems[i]->itemData;
|
||||
|
||||
Sim::findObject( curId, curObj );
|
||||
|
||||
|
|
@ -1515,7 +1515,7 @@ void GuiListBoxCtrl::_mirror()
|
|||
|
||||
for ( U32 j = 0; j < mItems.size(); j++ )
|
||||
{
|
||||
if ( (SimObjectId)(mItems[j]->itemData) == curId )
|
||||
if ( (SimObjectId)(uintptr_t)(mItems[j]->itemData) == curId )
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
|
|
@ -1524,7 +1524,7 @@ void GuiListBoxCtrl::_mirror()
|
|||
|
||||
for ( U32 j = 0; j < mFilteredItems.size(); j++ )
|
||||
{
|
||||
if ( (SimObjectId)(mFilteredItems[j]->itemData) == curId )
|
||||
if ( (SimObjectId)(uintptr_t)(mFilteredItems[j]->itemData) == curId )
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue