summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-01-24 14:53:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-29 10:18:42 +0100
commitdeaeb676eb53100c1b44f720791ed52145016b0c (patch)
tree1d7ac3ca297613160da668a2d0ec3fe48fdad041 /tests
parent04b7e053752be754676c2ede21f70f7a8caed0a7 (diff)
Fix MSVC-warning about truncation of constant in tst_qaudiobuffer.cpp.
Change-Id: If9e239be38f8d15542ab9bf3a74bccf0a43b4e69 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/unit/qaudiobuffer/tst_qaudiobuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qaudiobuffer/tst_qaudiobuffer.cpp b/tests/auto/unit/qaudiobuffer/tst_qaudiobuffer.cpp
index 5fbdffbc1..d5e284e8a 100644
--- a/tests/auto/unit/qaudiobuffer/tst_qaudiobuffer.cpp
+++ b/tests/auto/unit/qaudiobuffer/tst_qaudiobuffer.cpp
@@ -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);