mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-24 17:13:54 +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
|
|
@ -128,7 +128,7 @@ void afxSpellBookData::unpackData(BitStream* stream)
|
|||
|
||||
do_id_convert = true;
|
||||
for (S32 i = 0; i < pages_per_book*spells_per_page; i++)
|
||||
rpg_spells[i] = (afxRPGMagicSpellData*) readDatablockID(stream);
|
||||
rpg_spells[i] = (afxRPGMagicSpellData*)(uintptr_t)readDatablockID(stream);
|
||||
}
|
||||
|
||||
DefineEngineMethod(afxSpellBookData, getPageSlotIndex, S32, (Point2I bookSlot),,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue