Fix make test:all failures seen on macOS Tahoe (#26136)

This commit is contained in:
Scott Lamb
2026-04-28 11:31:00 -07:00
committed by GitHub
parent 7d40a3328f
commit 0c5e36d056
16 changed files with 35 additions and 31 deletions
+1 -1
View File
@@ -35,5 +35,5 @@ class KeyboardReportMatcher : public testing::MatcherInterface<report_keyboard_t
template <typename... Ts>
inline testing::Matcher<report_keyboard_t&> KeyboardReport(Ts... keys) {
return testing::MakeMatcher(new KeyboardReportMatcher(std::vector<uint8_t>({keys...})));
return testing::MakeMatcher(new KeyboardReportMatcher({static_cast<uint8_t>(keys)...}));
}