qt4/tests/check_lexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5312984b40355b067001704e9c688ea0a72b1159 Author: Albert Astals Cid <[email protected]> Date: Fri Oct 19 00:00:53 2012 +0200 Define the numbers a bit better so gcc in i386 understands them better diff --git a/qt4/tests/check_lexer.cpp b/qt4/tests/check_lexer.cpp index 904be14..8611b8f 100644 --- a/qt4/tests/check_lexer.cpp +++ b/qt4/tests/check_lexer.cpp @@ -47,7 +47,7 @@ void TestLexer::testNumbers() lexer->getObj(&obj); QCOMPARE(obj.getType(), objUint); - QCOMPARE(obj.getUint(), (unsigned int)2147483648); + QCOMPARE(obj.getUint(), 2147483648u); obj.free(); lexer->getObj(&obj); @@ -57,7 +57,7 @@ void TestLexer::testNumbers() lexer->getObj(&obj); QCOMPARE(obj.getType(), objReal); - QCOMPARE(obj.getReal(), (double)4294967297); + QCOMPARE(obj.getReal(), 4294967297.); obj.free(); lexer->getObj(&obj); _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
