Skip to content

Commit

Permalink
Again, nobody's got disk space to build x86. This is a guess
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Apr 19, 2021
1 parent 4166afa commit 717db81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cascadia/WindowsTerminal/AppHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ winrt::fire_and_forget AppHost::_setupGlobalHotkeys()
// - <none>
void AppHost::_GlobalHotkeyPressed(const long hotkeyIndex)
{
if (hotkeyIndex < 0 || hotkeyIndex > _hotkeys.size())
if (hotkeyIndex < 0 || static_cast<size_t>(hotkeyIndex) > _hotkeys.size())
{
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/cascadia/WindowsTerminal/IslandWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ void IslandWindow::UnsetHotkeys(const std::vector<winrt::Microsoft::Terminal::Co
TraceLoggingInt64(hotkeyList.size(), "numHotkeys", "The number of hotkeys to unset"),
TraceLoggingLevel(WINEVENT_LEVEL_VERBOSE));

for (int i = 0; i < hotkeyList.size(); i++)
for (size_t i = 0; i < hotkeyList.size(); i++)
{
LOG_IF_WIN32_BOOL_FALSE(UnregisterHotKey(_window.get(), i));
}
Expand Down

0 comments on commit 717db81

Please sign in to comment.