mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
Use a standard type rather than TagLib::wchar.
This won't break the ABI compatibility.
This commit is contained in:
@ -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());
|
||||
|
@ -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());
|
||||
|
@ -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());
|
||||
|
@ -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());
|
||||
|
Reference in New Issue
Block a user