Selaa lähdekoodia

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

Pierre d'Herbemont 17 vuotta sitten
vanhempi
commit
4f5a85c538
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Sources/VLCMediaPlayer.m

+ 1 - 1
Sources/VLCMediaPlayer.m

@@ -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,