From: Jean-Baptiste Kempf Date: Sun, 15 Jun 2008 00:48:31 +0000 (-0700) Subject: Kill a "cannot pass objects of non-POD type 'class TagLib::FileName' through '..... X-Git-Tag: 0.9.0-test0~43 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c69ca05dbe5cb62b500b547a5953ab08a5a63b8c;p=vlc Kill a "cannot pass objects of non-POD type 'class TagLib::FileName' through '...'; call will abort at runtime" warning/error on Windows. --- diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp index 49b78c2508..67e54dd7e3 100644 --- a/modules/meta_engine/taglib.cpp +++ b/modules/meta_engine/taglib.cpp @@ -136,7 +136,7 @@ static void DetectImage( FileRef f, demux_t *p_demux ) msg_Warn( p_demux, "%s: Invalid picture embedded by broken iTunes version, " "you really shouldn't use this crappy software.", - f.file()->name() ); + (const char *)f.file()->name() ); break; }