mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 02:53:49 +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
|
|
@ -133,7 +133,7 @@ void afxEffectGroupData::unpack_fx(BitStream* stream, afxEffectList& fx)
|
|||
fx.clear();
|
||||
S32 n_fx = stream->readInt(EFFECTS_PER_PHRASE_BITS);
|
||||
for (int i = 0; i < n_fx; i++)
|
||||
fx.push_back((afxEffectWrapperData*)readDatablockID(stream));
|
||||
fx.push_back((afxEffectWrapperData*)(uintptr_t)readDatablockID(stream));
|
||||
}
|
||||
|
||||
#define myOffset(field) Offset(field, afxEffectGroupData)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue