diff --git a/src/servers/app/ServerPicture.cpp b/src/servers/app/ServerPicture.cpp index aec0b8eaee..dc41e6b483 100644 --- a/src/servers/app/ServerPicture.cpp +++ b/src/servers/app/ServerPicture.cpp @@ -659,7 +659,7 @@ ServerPicture::SyncState(ViewLayer *view) void ServerPicture::Play(ViewLayer *view) { - PicturePlayer player(const_cast(fData.Buffer()), fData.BufferLength(), NULL); + PicturePlayer player(fData.Buffer(), fData.BufferLength(), NULL); player.Play(const_cast(tableEntries), sizeof(tableEntries) / sizeof(void *), view); }