comparison data/fileio/MP3FileReader.cpp @ 1335:47768571681e 3.0-integration

Fix printf format
author Chris Cannam
date Tue, 03 Jan 2017 13:04:47 +0000
parents 4cd64fc573f3
children c0fece5e7755
comparison
equal deleted inserted replaced
1334:4cd64fc573f3 1335:47768571681e
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 %lld", 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), (long long int)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 }
593 593