Mercurial > hg > svcore
comparison data/fileio/MP3FileReader.cpp @ 1334:4cd64fc573f3 3.0-integration
Fix some compiler warnings
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 03 Jan 2017 11:55:29 +0000 |
parents | ff9697592bef |
children | 47768571681e |
comparison
equal
deleted
inserted
replaced
1333:46670bb4a290 | 1334:4cd64fc573f3 |
---|---|
582 } | 582 } |
583 | 583 |
584 if (!data->reader->m_decodeErrorShown) { | 584 if (!data->reader->m_decodeErrorShown) { |
585 char buffer[256]; | 585 char buffer[256]; |
586 snprintf(buffer, 255, | 586 snprintf(buffer, 255, |
587 "MP3 decoding error 0x%04x (%s) at byte offset %lu", | 587 "MP3 decoding error 0x%04x (%s) at byte offset %lld", |
588 stream->error, mad_stream_errorstr(stream), ix); | 588 stream->error, mad_stream_errorstr(stream), ix); |
589 SVCERR << "Warning: in file \"" << data->reader->m_path << "\": " | 589 SVCERR << "Warning: in file \"" << data->reader->m_path << "\": " |
590 << buffer << " (continuing; will not report any further decode errors for this file)" << endl; | 590 << buffer << " (continuing; will not report any further decode errors for this file)" << endl; |
591 data->reader->m_decodeErrorShown = true; | 591 data->reader->m_decodeErrorShown = true; |
592 } | 592 } |