Skip to content

Commit eeccba6

Browse files
committed
Fix invalid comparison of integer types
1 parent a02520d commit eeccba6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

browser-app.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ CefRefPtr<CefV8Value> CefValueToCefV8Value(CefRefPtr<CefValue> value)
292292
CefRefPtr<CefListValue> list = value->GetList();
293293
size_t size = list->GetSize();
294294
result = CefV8Value::CreateArray((int)size);
295-
for (int i = 0; i < size; i++) {
296-
result->SetValue(
297-
i, CefValueToCefV8Value(list->GetValue(i)));
295+
for (size_t i = 0; i < size; i++) {
296+
result->SetValue((int)i, CefValueToCefV8Value(
297+
list->GetValue(i)));
298298
}
299299
} break;
300300
}

0 commit comments

Comments
 (0)