Pass in the expected type to readObject anywhere the code would clearly convert the wrong type to null anyway
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5440 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -34,7 +34,7 @@ public class AuthResponse extends DownstreamMessage
|
||||
override public function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
super.readObject(ins);
|
||||
_data = (ins.readObject() as AuthResponseData);
|
||||
_data = (ins.readObject(AuthResponseData) as AuthResponseData);
|
||||
}
|
||||
|
||||
protected var _data :AuthResponseData;
|
||||
|
||||
Reference in New Issue
Block a user