Fixed last commit
This commit is contained in:
parent
1526d09701
commit
43d4d0bb28
@ -94,7 +94,7 @@ bool Packet::EndOfPacket() const
|
||||
////////////////////////////////////////////////////////////
|
||||
Packet::operator void*() const
|
||||
{
|
||||
return myIsValid ? this : NULL;
|
||||
return myIsValid ? const_cast<Packet*>(this) : NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user