[vlc-devel] [PATCH 2/3] Save album art to id3 tag.

Rémi Denis-Courmont remi at remlab.net
Tue Jul 31 15:43:17 CEST 2012


Le mardi 31 juillet 2012 15:32:31 Jean-Baptiste Kempf, vous avez écrit :
> On Tue, Jul 31, 2012 at 02:34:03PM +0200, Angelo Haller wrote :
> > +    long l_buffer = st.st_size;
> 
> Sure that st_size is long and not off_t ?

Indeed not. This will break on 32-bits architectures.

off_t is usually 64-bits, while long is usually the size of a pointer.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list