Unify 64bit int constant definitions.
LL and ULL prefixes are word size dependent, use the INT64_C and UINT64_C
macros instead.
Change-Id: I5b70027651898814fc0b3e9e22a18a1047e76cb9
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc
index e6aa9c2..d0555ff 100644
--- a/runtime/class_linker_test.cc
+++ b/runtime/class_linker_test.cc
@@ -918,7 +918,7 @@
fh.ChangeField(s5);
EXPECT_TRUE(fh.GetTypeAsPrimitiveType() == Primitive::kPrimLong);
EXPECT_EQ(0x1234567890abcdefLL, s5->GetLong(statics.get()));
- s5->SetLong<false>(statics.get(), 0x34567890abcdef12LL);
+ s5->SetLong<false>(statics.get(), INT64_C(0x34567890abcdef12));
mirror::ArtField* s6 = statics->FindStaticField("s6", "F");
fh.ChangeField(s6);
@@ -946,7 +946,7 @@
EXPECT_EQ('b', s2->GetChar(statics.get()));
EXPECT_EQ(-535, s3->GetShort(statics.get()));
EXPECT_EQ(2000000001, s4->GetInt(statics.get()));
- EXPECT_EQ(0x34567890abcdef12LL, s5->GetLong(statics.get()));
+ EXPECT_EQ(INT64_C(0x34567890abcdef12), s5->GetLong(statics.get()));
EXPECT_EQ(0.75, s6->GetFloat(statics.get()));
EXPECT_EQ(16777219, s7->GetDouble(statics.get()));
EXPECT_TRUE(s8->GetObject(statics.get())->AsString()->Equals("robot"));