Fix lint error in odrefresh_test.
This CL changes the C-style cast in the code to `static_cast`.
Bug: 197176583
Test: atest art_standalone_odrefresh_tests
Change-Id: I7686c2fb8a17ca9b41cee7ed475eceba8174de1c
diff --git a/odrefresh/odrefresh_test.cc b/odrefresh/odrefresh_test.cc
index 070c866..99b8d03 100644
--- a/odrefresh/odrefresh_test.cc
+++ b/odrefresh/odrefresh_test.cc
@@ -118,7 +118,7 @@
if (len < 0) {
return false;
}
- std::string path_str{path, (size_t)len};
+ std::string path_str{path, static_cast<size_t>(len)};
return ExplainMatchResult(matcher, path_str, result_listener);
}