Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp Tue Jan 03 11:55:29 2017 +0000 +++ b/data/fileio/MP3FileReader.cpp Tue Jan 03 13:04:47 2017 +0000 @@ -585,7 +585,7 @@ char buffer[256]; snprintf(buffer, 255, "MP3 decoding error 0x%04x (%s) at byte offset %lld", - stream->error, mad_stream_errorstr(stream), ix); + stream->error, mad_stream_errorstr(stream), (long long int)ix); SVCERR << "Warning: in file \"" << data->reader->m_path << "\": " << buffer << " (continuing; will not report any further decode errors for this file)" << endl; data->reader->m_decodeErrorShown = true;