[vlc-devel] commit: Kill a "cannot pass objects of non-POD type 'class TagLib::FileName ' through '...'; call will abort at runtime" warning/error on Windows. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jun 15 02:46:37 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 14 17:48:31 2008 -0700| [c69ca05dbe5cb62b500b547a5953ab08a5a63b8c]

Kill a "cannot pass objects of non-POD type 'class TagLib::FileName' through '...'; call will abort at runtime" warning/error on Windows.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c69ca05dbe5cb62b500b547a5953ab08a5a63b8c
---

 modules/meta_engine/taglib.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index 49b78c2..67e54dd 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;
             }
 




More information about the vlc-devel mailing list