Commit 54524f5e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCMediaPlayer.m: Const-ify the conversion table.

parent 6a790db7
...@@ -445,7 +445,7 @@ NSString *VLCMediaPlayerStateToString(VLCMediaPlayerState state) ...@@ -445,7 +445,7 @@ NSString *VLCMediaPlayerStateToString(VLCMediaPlayerState state)
return ret; return ret;
} }
static VLCMediaPlayerState libvlc_to_local_state[] = static const VLCMediaPlayerState libvlc_to_local_state[] =
{ {
[libvlc_Stopped] = VLCMediaPlayerStateStopped, [libvlc_Stopped] = VLCMediaPlayerStateStopped,
[libvlc_Opening] = VLCMediaPlayerStateOpening, [libvlc_Opening] = VLCMediaPlayerStateOpening,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment