[vlc-devel] [vlc-commits] jpeg: use explicit cast for jpeg_mem_dest

Rémi Denis-Courmont remi at remlab.net
Thu Apr 21 14:15:35 CEST 2016


Le 2016-04-20 13:35, git at videolan.org a écrit :
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed
> Apr 20 13:34:13 2016 +0200| 
> [e7abf33e340ea4937fa9d73315d492da428e2c8e]
> | committer: Jean-Baptiste Kempf
>
> jpeg: use explicit cast for jpeg_mem_dest

This is an aliasing violation. It obviously makes no sense.

> Of course, some people don't know that long != size_t

Yes indeed this patch does not seem to understand the difference.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list