mirror of
https://github.com/taglib/taglib.git
synced 2025-07-22 23:14:33 -04:00
WIN32 compile fix.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@773935 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user