summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-10-19 00:02:02 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-10-19 00:02:02 +0200
commitf38194cfae8f8690bc3767cbdcf140519564366c (patch)
tree685c7eb0500fe6cb06d1a7f2ccc78fb64a999a17
parent80cf43472e5913f5f64bf73cb4a8ac5a53063f2e (diff)
parent5312984b40355b067001704e9c688ea0a72b1159 (diff)
Merge remote-tracking branch 'origin/poppler-0.20'
-rw-r--r--qt4/tests/check_lexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt4/tests/check_lexer.cpp b/qt4/tests/check_lexer.cpp
index 904be14a..8611b8fe 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);