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:
parent
281610142b
commit
ce7bf5e539
@ -578,7 +578,7 @@ private:
|
|||||||
id val = [change objectForKey:NSKeyValueChangeNewKey];
|
id val = [change objectForKey:NSKeyValueChangeNewKey];
|
||||||
if ( val != [NSNull null ] )
|
if ( val != [NSNull null ] )
|
||||||
{
|
{
|
||||||
AVPlayerStatus status = [ val integerValue];
|
AVPlayerStatus status = (AVPlayerStatus) [ val integerValue];
|
||||||
|
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user