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.
(cherry picked from commit ce7bf5e539)
This commit is contained in:
Tobias Taschner
2016-10-17 11:44:16 +02:00
parent 32464a364f
commit 38a7ee64a0

View File

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