[poppler] 2 commits - qt4/tests
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Oct 18 15:02:17 PDT 2012
qt4/tests/check_lexer.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f38194cfae8f8690bc3767cbdcf140519564366c
Merge: 80cf434... 5312984...
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Oct 19 00:02:02 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit 5312984b40355b067001704e9c688ea0a72b1159
Author: Albert Astals Cid <aacid at kde.org>
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);
More information about the poppler
mailing list