[vlc-devel] [vlc-commits] Adaptive: fix integer promotion

Jean-Baptiste Kempf jb at videolan.org
Wed Oct 28 14:42:44 CET 2015


On 28 Oct, Jean-Baptiste Kempf wrote :
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 28 14:29:11 2015 +0100| [92ff36d40c6e48a8c7b0cc9553e91dbe92e08aae] | committer: Jean-Baptiste Kempf
> 
> Adaptive: fix integer promotion
> 
> std::max is only defined on same T type. Older GCC fail to promote it
> correctly.

FYI, at least 4.8 and 4.9.3 failed here.


-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list