diff --git a/src/osx/cocoa/mediactrl.mm b/src/osx/cocoa/mediactrl.mm index 7634aee9a3..1b2013b966 100644 --- a/src/osx/cocoa/mediactrl.mm +++ b/src/osx/cocoa/mediactrl.mm @@ -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) {