[vlc-devel] [vlc-commits] Contribs: update live555 for security issues

Jean-Baptiste Kempf jb at videolan.org
Thu Dec 5 00:00:37 CET 2013

On 04 Dec, Steinar H. Gunderson wrote :
> On Thu, Dec 05, 2013 at 07:51:35AM +1000, Ross Finlayson wrote:
> >> This breaks win64 (full log below):
> >> RTPInterface.cpp:365:40: error: cast from 'const char*' to 'long int'
> >> loses precision [-fpermissive]
> > That should be (at most) a warning, not an error.
> Why? On Win64, const char* is 64 bits and long int is 32. It's an error
> according to the C++ standard, as far as I know; if you really want that,
> you'll first need to cast through an integral value that's big enough
> (e.g., std::intptr_t) and only then truncate to long.

And seriously, in 2013, using long? Why?

With my kindest regards,

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

More information about the vlc-devel mailing list