Add typecast for C++11 compilation of OS X wxMediaCtrl

When compiling in C++11 mode the typecast of AVPlayerStatus in the callback is required to avoid a compiler error.
This commit is contained in:
Tobias Taschner 2016-10-17 11:44:16 +02:00
parent 281610142b
commit ce7bf5e539

View File

@ -578,7 +578,7 @@ private:
id val = [change objectForKey:NSKeyValueChangeNewKey];
if ( val != [NSNull null ] )
{
AVPlayerStatus status = [ val integerValue];
AVPlayerStatus status = (AVPlayerStatus) [ val integerValue];
switch (status)
{