Update Sequence.cpp

Fix crash on Linux when recovering project where samples read do not match expected number of samples.
This commit is contained in:
Steve Daulton 2018-06-05 18:14:36 +01:00 committed by GitHub
parent a771faa492
commit 0ac3ed8453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1140,7 +1140,7 @@ bool Sequence::Read(samplePtr buffer, sampleFormat format,
if (result != len)
{
wxLogWarning(wxT("Expected to read %ld samples, got %d samples."),
wxLogWarning(wxT("Expected to read %ld samples, got %ld samples."),
len, result);
return false;
}