summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);