<html><head></head><body>Series LGTM<br><br><div class="gmail_quote">Le 2 mars 2020 13:10:51 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">The code fails to build with -Werror=incompatible-pointer-types otherwise<hr> modules/lua/libs/objects.c | 14 ++++++++++++--<br> 1 file changed, 12 insertions(+), 2 deletions(-)<br><br>diff --git a/modules/lua/libs/objects.c b/modules/lua/libs/objects.c<br>index d0b8a2e3967..678ea826ce6 100644<br>--- a/modules/lua/libs/objects.c<br>+++ b/modules/lua/libs/objects.c<br>@@ -107,21 +107,31 @@ static int vlclua_get_player( lua_State *L )<br> return 1;<br> }<br> <br>+static void do_vout_Release( void *vout )<br>+{<br>+ vout_Release( vout );<br>+}<br>+<br> static int vlclua_get_vout( lua_State *L )<br> {<br> vout_thread_t *vout = vlclua_get_vout_internal(L);<br> if (vout)<br>- vlclua_push_vlc_object(L, vout, vout_Release);<br>+ vlclua_push_vlc_object(L, vout, do_vout_Release);<br> else<br> lua_pushnil(L);<br> return 1;<br> }<br> <br>+static void do_aout_Release( void *aout )<br>+{<br>+ aout_Release( aout );<br>+}<br>+<br> static int vlclua_get_aout( lua_State *L )<br> {<br> audio_output_t *aout = vlclua_get_aout_internal(L);<br> if (aout)<br>- vlclua_push_vlc_object(L, aout, aout_Release);<br>+ vlclua_push_vlc_object(L, aout, do_aout_Release);<br> else<br> lua_pushnil(L);<br> return 1;</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>