mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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