Fixed last commit

This commit is contained in:
Laurent Gomila 2011-05-25 07:38:18 +02:00
parent 1526d09701
commit 43d4d0bb28

View File

@ -94,7 +94,7 @@ bool Packet::EndOfPacket() const
////////////////////////////////////////////////////////////
Packet::operator void*() const
{
return myIsValid ? this : NULL;
return myIsValid ? const_cast<Packet*>(this) : NULL;
}