Explorar el Código

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

Pierre d'Herbemont hace 18 años
padre
commit
4f5a85c538
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,