Use a standard type rather than TagLib::wchar.

This won't break the ABI compatibility.
This commit is contained in:
Tsuda Kageyu
2015-12-02 11:30:29 +09:00
parent 6966be4292
commit 060a50ab11
8 changed files with 12 additions and 12 deletions

View File

@ -49,7 +49,7 @@ public:
String longText(std::string(128 * 1024, ' ').c_str());
for (size_t i = 0; i < longText.length(); ++i)
longText[i] = static_cast<wchar>(L'A' + (i % 26));
longText[i] = static_cast<wchar_t>(L'A' + (i % 26));
{
Vorbis::File f(newname.c_str());

View File

@ -54,7 +54,7 @@ public:
String longText(std::string(128 * 1024, ' ').c_str());
for(size_t i = 0; i < longText.length(); ++i)
longText[i] = static_cast<wchar>(L'A' + (i % 26));
longText[i] = static_cast<wchar_t>(L'A' + (i % 26));
{
Ogg::FLAC::File f(newname.c_str());

View File

@ -70,7 +70,7 @@ public:
String longText(std::string(128 * 1024, ' ').c_str());
for(size_t i = 0; i < longText.length(); ++i)
longText[i] = static_cast<wchar>(L'A' + (i % 26));
longText[i] = static_cast<wchar_t>(L'A' + (i % 26));
{
Ogg::Opus::File f(newname.c_str());

View File

@ -35,7 +35,7 @@ public:
String longText(std::string(128 * 1024, ' ').c_str());
for (size_t i = 0; i < longText.length(); ++i)
longText[i] = static_cast<wchar>(L'A' + (i % 26));
longText[i] = static_cast<wchar_t>(L'A' + (i % 26));
{
Ogg::Speex::File f(newname.c_str());