mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Fix 64-bit compile errors (issue #394).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1361 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -182,10 +182,10 @@ void TestListEqual(CefRefPtr<CefListValue> val1,
|
||||
EXPECT_TRUE(val1.get());
|
||||
EXPECT_TRUE(val2.get());
|
||||
|
||||
size_t size = val1->GetSize();
|
||||
EXPECT_EQ(size, val2->GetSize());
|
||||
int size = static_cast<int>(val1->GetSize());
|
||||
EXPECT_EQ(size, static_cast<int>(val2->GetSize()));
|
||||
|
||||
for (size_t i = 0; i < size; ++i) {
|
||||
for (int i = 0; i < size; ++i) {
|
||||
CefValueType type = val1->GetType(i);
|
||||
EXPECT_EQ(type, val2->GetType(i));
|
||||
switch (type) {
|
||||
|
Reference in New Issue
Block a user