Index: remoting/host/local_input_monitor_win.cc |
diff --git a/remoting/host/local_input_monitor_win.cc b/remoting/host/local_input_monitor_win.cc |
index 74975ecad8629154612ba93f8a3d7a10f3edbd2d..e6100b78521a25cdb3fec6e1be3cc7ac0e362efc 100644 |
--- a/remoting/host/local_input_monitor_win.cc |
+++ b/remoting/host/local_input_monitor_win.cc |
@@ -165,7 +165,7 @@ LRESULT LocalInputMonitorWin::Core::OnInput(HRAWINPUT input_handle) { |
nullptr, |
&size, |
sizeof(RAWINPUTHEADER)); |
- if (result == -1) { |
+ if (result == static_cast<UINT>(-1)) { |
PLOG(ERROR) << "GetRawInputData() failed"; |
return 0; |
} |
@@ -178,7 +178,7 @@ LRESULT LocalInputMonitorWin::Core::OnInput(HRAWINPUT input_handle) { |
buffer.get(), |
&size, |
sizeof(RAWINPUTHEADER)); |
- if (result == -1) { |
+ if (result == static_cast<UINT>(-1)) { |
PLOG(ERROR) << "GetRawInputData() failed"; |
return 0; |
} |