<html><head></head><body>Forget that. It seems wrong due to missing expansion safety of the parameters.<br><br><div class="gmail_quote">Le 15 juillet 2019 13:51:04 GMT+03:00, "Rémi Denis-Courmont" <remi@remlab.net> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Probably OK. Won't work if swab is taken as a pointer but we can probably ignore that for the time being<br><br><div class="gmail_quote">Le 15 juillet 2019 13:43:16 GMT+03: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"><hr> include/vlc_common.h | 5 +++++<br> 1 file changed, 5 insertions(+)<br><br>diff --git a/include/vlc_common.h b/include/vlc_common.h<br>index 78d4c17850..08b1206f5d 100644<br>--- a/include/vlc_common.h<br>+++ b/include/vlc_common.h<br>@@ -1106,6 +1106,11 @@ static inline void SetQWLE (void *p, uint64_t qw)<br> # ifndef O_NONBLOCK<br> # define O_NONBLOCK 0<br> # endif<br>+<br>+/* the mingw32 swab() and win32 _swab() prototypes expect a char* instead of a<br>+ const void* */<br>+# define swab(a,b,c) swab((char*) a, (char*)b, c)<br>+<br> #endif /* _WIN32 */<br> <br> typedef struct {</pre></blockquote></div></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>