<div dir="ltr">Apologies I should be using git am, here is a new patch.<br><br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">From 6986255c94efb86291545e7ac504440c6d2e812c Mon Sep 17 00:00:00 2001<br>From: martell <<a href="mailto:martellmalone@gmail.com">martellmalone@gmail.com</a>><br>Date: Mon, 3 Nov 2014 12:38:27 +0000<br>Subject: [PATCH] lfind: msvcrt always use unsigned int* arg<br>---<br> modules/access/dtv/access.c | 9 +++++++--<br> 1 file changed, 7 insertions(+), 2 deletions(-)<br>diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c<br>index 95b1dd7..433e65d 100644<br>--- a/modules/access/dtv/access.c<br>+++ b/modules/access/dtv/access.c<br>@@ -727,8 +727,13 @@ static const char *var_InheritModulation (vlc_object_t *obj, const char *var)<br>     char *mod = var_InheritString (obj, var);<br>     if (mod == NULL)<br>         return "";<br>-<br>-    size_t n = sizeof (modulation_vlc) / sizeof (modulation_vlc[0]);<br>+    <br>+#ifdef __MINGW32__<br>+    unsigned int n;<br>+#else<br>+    size_t_n;<br>+#endif<br>+    n = sizeof (modulation_vlc) / sizeof (modulation_vlc[0]);<br>     const char *const *p = lfind (mod, modulation_vlc, &n, sizeof (mod), modcmp);<br>     if (p != NULL)<br>     {<br>-- <br>2.1.3</blockquote><div><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 12:30 PM, Martell Malone <span dir="ltr"><<a href="mailto:martellmalone@gmail.com" target="_blank">martellmalone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">MS don't conform to the size_t argument and always use unsigned int even on x64 <br>This was applied to 2.2 branch but should also be able to go onto HEAD</div>
</blockquote></div><br></div>