Commit 01c67a64 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] fix compiler warning; append 'u' to large unsigned decimals

parent 4dbb7316
......@@ -484,7 +484,7 @@ TEST_F(MasterLexerStateTest, basicNumbers) {
EXPECT_EQ(&s_number, State::start(lexer, common_options));
s_number.handle(lexer);
EXPECT_EQ(4294967295, s_number.getToken(lexer).getNumber());
EXPECT_EQ(4294967295u, s_number.getToken(lexer).getNumber());
EXPECT_EQ(&s_number, State::start(lexer, common_options));
s_number.handle(lexer);
......@@ -496,7 +496,7 @@ TEST_F(MasterLexerStateTest, basicNumbers) {
EXPECT_EQ(&s_number, State::start(lexer, common_options));
s_number.handle(lexer);
EXPECT_EQ(2808348672, s_number.getToken(lexer).getNumber());
EXPECT_EQ(2808348672u, s_number.getToken(lexer).getNumber());
EXPECT_EQ(&s_number, State::start(lexer, common_options));
s_number.handle(lexer);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment