MacOSX/Framework/VLCMediaPlayer.m: Const-ify the conversion table.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 21 Oct 2007 13:54:13 +0000 (13:54 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 21 Oct 2007 13:54:13 +0000 (13:54 +0000)
extras/MacOSX/Framework/Sources/VLCMediaPlayer.m

index 91d0a2b..da7be14 100644 (file)
@@ -445,7 +445,7 @@ NSString *VLCMediaPlayerStateToString(VLCMediaPlayerState state)
         return ret;
 }
 
-static VLCMediaPlayerState libvlc_to_local_state[] =
+static const VLCMediaPlayerState libvlc_to_local_state[] =
 {
     [libvlc_Stopped]    = VLCMediaPlayerStateStopped,
     [libvlc_Opening]    = VLCMediaPlayerStateOpening,