Fix MSVC-warning about truncation of constant in tst_qaudiobuffer.cpp.
Change-Id: If9e239be38f8d15542ab9bf3a74bccf0a43b4e69 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
04b7e05375
commit
deaeb676eb
@@ -78,7 +78,7 @@ tst_QAudioBuffer::tst_QAudioBuffer()
|
||||
mFormat.setSampleRate(10000);
|
||||
mFormat.setCodec("audio/pcm");
|
||||
|
||||
QByteArray b(4000, 0x80);
|
||||
QByteArray b(4000, char(0x80));
|
||||
mNull = new QAudioBuffer;
|
||||
mEmpty = new QAudioBuffer(500, mFormat); // 500 stereo frames of 16 bits -> 2KB
|
||||
mFromArray = new QAudioBuffer(b, mFormat);
|
||||
|
||||
Reference in New Issue
Block a user