Commit ec2b2420 authored by Bart van der Velden's avatar Bart van der Velden

Solve a few gcc warnings (#53)

parent 60b83f40
......@@ -171,7 +171,7 @@ public:
std::wstring m_fileName;
std::wstring m_folderName;
unsigned int m_fileSize;
size_t m_fileSize;
unsigned int m_numSamples;
unsigned int m_sampleRate;
unsigned int m_channels;
......@@ -189,7 +189,7 @@ AudioFile::AudioFile(const TagLib::FileRef& fileRef)
m_sampleRate = fileRef.audioProperties()->sampleRate();
TagLib::StringList sl = fileRef.file()->properties().unsupportedData();
int len = fileRef.file()->length();
size_t len = fileRef.file()->length();
m_fileSize = len;
TagLib::PropertyMap pm = fileRef.file()->properties();
TagLib::String s = pm.toString();
......@@ -197,8 +197,6 @@ AudioFile::AudioFile(const TagLib::FileRef& fileRef)
{
BOOST_LOG_TRIVIAL(info) << "Properties:\n" << s.toCString(true);
}
TagLib::FileName fn = fileRef.file()->name();
}
//! Handle a file with a .mp3 extension
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment