<div dir='auto'>LGTM for the set</div><div class="gmail_extra"><br><div class="gmail_quote">Le 22 nov. 2019 00:53, Marvin Scholz <epirat07@gmail.com> a écrit :<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Fix for a enum-compare-switch warning:</p>
<p dir="ltr">warning: comparison of two values with different enumeration types in<br>
switch statement ('PlaylistControllerModel::PlaybackRepeat' and<br>
'vlc_playlist_playback_repeat') [-Wenum-compare-switch]<br>
---<br>
 modules/gui/qt/components/playlist/playlist_controller.cpp | 6 +++---<br>
 1 file changed, 3 insertions(+), 3 deletions(-)</p>
<p dir="ltr">diff --git a/modules/gui/qt/components/playlist/playlist_controller.cpp b/modules/gui/qt/components/playlist/playlist_controller.cpp<br>
index 11933b3d84..43ad90e5a5 100644<br>
--- a/modules/gui/qt/components/playlist/playlist_controller.cpp<br>
+++ b/modules/gui/qt/components/playlist/playlist_controller.cpp<br>
@@ -537,13 +537,13 @@ void PlaylistControllerModel::toggleRepeatMode()<br>
     vlc_playlist_playback_repeat new_repeat;<br>
     /* Toggle Normal -> Loop -> Repeat -> Normal ... */<br>
     switch ( d->m_repeat ) {<br>
-    case VLC_PLAYLIST_PLAYBACK_REPEAT_NONE:<br>
+    case PlaybackRepeat::PLAYBACK_REPEAT_NONE:<br>
         new_repeat = VLC_PLAYLIST_PLAYBACK_REPEAT_ALL;<br>
         break;<br>
-    case VLC_PLAYLIST_PLAYBACK_REPEAT_ALL:<br>
+    case PlaybackRepeat::PLAYBACK_REPEAT_ALL:<br>
         new_repeat = VLC_PLAYLIST_PLAYBACK_REPEAT_CURRENT;<br>
         break;<br>
-    case VLC_PLAYLIST_PLAYBACK_REPEAT_CURRENT:<br>
+    case PlaybackRepeat::PLAYBACK_REPEAT_CURRENT:<br>
     default:<br>
         new_repeat = VLC_PLAYLIST_PLAYBACK_REPEAT_NONE;<br>
         break;<br>
-- <br>
2.20.1 (Apple Git-117)</p>
<p dir="ltr">_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
https://mailman.videolan.org/listinfo/vlc-devel</p>
</blockquote></div><br></div>