mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813637 - Let the compiler convert between the types, so that we don't end up with incorrect pointer math; r=cpearce
This commit is contained in:
parent
e4d770fba5
commit
db8483a95e
@ -24,7 +24,7 @@ MediaPluginReader::MediaPluginReader(AbstractMediaDecoder *aDecoder) :
|
||||
mAudioSeekTimeUs(-1),
|
||||
mLastVideoFrame(NULL)
|
||||
{
|
||||
reinterpret_cast<MediaPluginDecoder *>(aDecoder)->GetContentType(mType);
|
||||
static_cast<MediaPluginDecoder *>(aDecoder)->GetContentType(mType);
|
||||
}
|
||||
|
||||
MediaPluginReader::~MediaPluginReader()
|
||||
|
Loading…
Reference in New Issue
Block a user