Browse Source

Fix unsafe cast

Adam Johnson 11 years ago
parent
commit
14b3d3f03c
  1. 2
      Sources/Plasma/PubUtilLib/plMessage/plAvCoopMsg.cpp

2
Sources/Plasma/PubUtilLib/plMessage/plAvCoopMsg.cpp

@ -100,7 +100,7 @@ void plAvCoopMsg::Read(hsStream *stream, hsResMgr *mgr)
plMessage::IMsgRead(stream, mgr); plMessage::IMsgRead(stream, mgr);
if(stream->ReadBool()) if(stream->ReadBool())
fCoordinator = reinterpret_cast<plCoopCoordinator *>(mgr->ReadCreatable(stream)); fCoordinator = plCoopCoordinator::ConvertNoRef(mgr->ReadCreatable(stream));
fInitiatorID = stream->ReadLE32(); fInitiatorID = stream->ReadLE32();
fInitiatorSerial = stream->ReadLE16(); fInitiatorSerial = stream->ReadLE16();

Loading…
Cancel
Save