tst_qmessageauthenticationcode: Fix warning about character conversion.

warning C4309: 'argument' : truncation of constant value.

Change-Id: I54e9b515d065c1a89bf790fb214c335e852ce5ac
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
This commit is contained in:
Friedemann Kleint 2013-06-07 14:01:10 +02:00 committed by The Qt Project
parent 2b401796c7
commit a730b5fabf

View File

@ -101,7 +101,7 @@ void tst_QMessageAuthenticationCode::result_data()
<< QByteArray::fromHex("750c783e6ab0b503eaa86e310a5db738");
QTest::newRow("rfc-md5-3") << QCryptographicHash::Md5
<< QByteArray::fromHex("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
<< QByteArray(50, 0xdd)
<< QByteArray(50, char(0xdd))
<< QByteArray::fromHex("56be34521d144c88dbb8c733f0e8b3f6");
}