diff options
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/JukeboxEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/JukeboxEntity.cpp b/src/BlockEntities/JukeboxEntity.cpp index ef2069d72..9fbb99c0e 100644 --- a/src/BlockEntities/JukeboxEntity.cpp +++ b/src/BlockEntities/JukeboxEntity.cpp @@ -32,7 +32,7 @@ cJukeboxEntity::~cJukeboxEntity() void cJukeboxEntity::CopyFrom(const cBlockEntity & a_Src) { Super::CopyFrom(a_Src); - auto & src = reinterpret_cast<const cJukeboxEntity &>(a_Src); + auto & src = static_cast<const cJukeboxEntity &>(a_Src); m_Record = src.m_Record; } |