new NANA_ENABLE_AUDIO to enable PCM playback

This commit is contained in:
Jinhao
2016-01-28 22:36:15 +08:00
parent 1c938a06fd
commit 8eb131e093
10 changed files with 50 additions and 7 deletions

View File

@@ -315,7 +315,7 @@ namespace nana{ namespace paint
if(ifs)
{
ifs.seekg(0, std::ios::end);
auto size = ifs.tellg();
auto size = static_cast<std::size_t>(ifs.tellg());
ifs.seekg(0, std::ios::beg);
if(size <= static_cast<int>(sizeof(bitmap_file_header)))