<html><head></head><body>FWIW, strtoul() can exceed 32bits.<br>
<br>
Also nit in description.<br><br><div class="gmail_quote">Le 4 juillet 2018 01:54:59 GMT+03:00, Salah-Eddin Shaban <salah@videolan.org> 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">This was heppening on Windows for colors like #ff0000ff<br><br>fixes #19974<br>---<br> src/misc/text_style.c | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/src/misc/text_style.c b/src/misc/text_style.c<br>index 43944afb5a..52ef89a62a 100644<br>--- a/src/misc/text_style.c<br>+++ b/src/misc/text_style.c<br>@@ -312,7 +312,7 @@ unsigned int vlc_html_color( const char *psz_value, bool* ok )<br> (*psz_hex >= '0' && *psz_hex <= '9') ||<br> (*psz_hex >= 'A' && *psz_hex <= 'F') )<br> {<br>- uint32_t i_value = strtol( psz_hex, &psz_end, 16 );<br>+ uint32_t i_value = strtoul( psz_hex, &psz_end, 16 );<br> if( *psz_end == 0 || isspace( *psz_end ) )<br> {<br> switch( psz_end - psz_hex )</pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>