[vlc-devel] commit: Taglib: undefined operation due to duplicate usage of var with post-increment ( Dominique Leuenberger )

Rémi Duraffort ivoire at via.ecp.fr
Mon Jan 19 21:30:40 CET 2009


>  Rooo, please:
>  for( j = 0; j < max_size; j++ )
> 	psz_ufid[j] = p_ufid->identifier()[j];
> 
>  or even
>  for( j = 0; j < _MIN( p_ufid->identifier().size(), 63) ) j++ )
> 	psz_ufid[j] = p_ufid->identifier()[j];
>  and why not a simple memcpy  or strncpy ?
Sorry for this commit, it's changed now.

-- 
ivoire | Rémi Duraffort



More information about the vlc-devel mailing list