diff options
author | Fabio D'Urso <fabiodurso@hotmail.it> | 2012-12-02 01:41:05 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-12-08 18:04:34 +0100 |
commit | cb3a10417ae659fdb7b77132c569c93ec00bc95e (patch) | |
tree | 70b947c1c00178686a4e80fbc001ad19b3b2b633 | |
parent | 8550576bdf74180b62f54f9fd59213fbcd0a1be1 (diff) |
Fixed check_lexer on 32-bit systems
-rw-r--r-- | qt4/tests/check_lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt4/tests/check_lexer.cpp b/qt4/tests/check_lexer.cpp index 8611b8fe..1ae849f2 100644 --- a/qt4/tests/check_lexer.cpp +++ b/qt4/tests/check_lexer.cpp @@ -52,7 +52,7 @@ void TestLexer::testNumbers() lexer->getObj(&obj); QCOMPARE(obj.getType(), objInt); - QCOMPARE(obj.getInt(), (int)-2147483648); + QCOMPARE(obj.getInt(), -2147483647-1); obj.free(); lexer->getObj(&obj); @@ -62,7 +62,7 @@ void TestLexer::testNumbers() lexer->getObj(&obj); QCOMPARE(obj.getType(), objReal); - QCOMPARE(obj.getReal(), (double)-2147483649); + QCOMPARE(obj.getReal(), -2147483649.); obj.free(); lexer->getObj(&obj); |