removed unnecessary use of const_cast

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20291 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2007-03-01 19:14:19 +00:00
parent a20cecff60
commit 533b9a69a7

View File

@ -659,7 +659,7 @@ ServerPicture::SyncState(ViewLayer *view)
void
ServerPicture::Play(ViewLayer *view)
{
PicturePlayer player(const_cast<void *>(fData.Buffer()), fData.BufferLength(), NULL);
PicturePlayer player(fData.Buffer(), fData.BufferLength(), NULL);
player.Play(const_cast<void **>(tableEntries), sizeof(tableEntries) / sizeof(void *), view);
}