From 6b2f47ff911221bb861d485d4b0939f401e6b022 Mon Sep 17 00:00:00 2001 From: Shane King Date: Tue, 12 Feb 2008 06:06:17 +0000 Subject: [PATCH] WIN32 compile fix. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@773935 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- taglib/fileref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taglib/fileref.cpp b/taglib/fileref.cpp index 8682b55a..eee62f2c 100644 --- a/taglib/fileref.cpp +++ b/taglib/fileref.cpp @@ -171,7 +171,7 @@ File *FileRef::create(FileName fileName, bool readAudioProperties, String s; #ifdef _WIN32 - s = (wcslen((const wchar_t *) fileName) > 0) ? (const wchar_t) fileName : (const char *) fileName; + s = (wcslen((const wchar_t *) fileName) > 0) ? String((const wchar_t *) fileName) : String((const char *) fileName); #else s = fileName; #endif -- 2.40.0