diff options
author | avi <avi@chromium.org> | 2015-12-22 14:49:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-22 22:50:51 +0000 |
commit | c5960f3143870ec1fbb1dd7280238b324c49c694 (patch) | |
tree | 0f0acfc895b17661165ee5770c50ac006fdd33b4 /remoting/host/local_input_monitor_win.cc | |
parent | 89572b9c9defce673e0ec094b14a0bc9bbe9b8db (diff) | |
download | chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.zip chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.gz chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.bz2 |
Switch to standard integer types in remoting/host/.
BUG=138542
TBR=wez@chromium.org
Review URL: https://codereview.chromium.org/1547473005
Cr-Commit-Position: refs/heads/master@{#366676}
Diffstat (limited to 'remoting/host/local_input_monitor_win.cc')
-rw-r--r-- | remoting/host/local_input_monitor_win.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/local_input_monitor_win.cc b/remoting/host/local_input_monitor_win.cc index e6100b7..11073be 100644 --- a/remoting/host/local_input_monitor_win.cc +++ b/remoting/host/local_input_monitor_win.cc @@ -4,10 +4,13 @@ #include "remoting/host/local_input_monitor.h" +#include <stdint.h> + #include "base/bind.h" #include "base/compiler_specific.h" #include "base/location.h" #include "base/logging.h" +#include "base/macros.h" #include "base/single_thread_task_runner.h" #include "base/strings/stringprintf.h" #include "base/threading/non_thread_safe.h" @@ -171,7 +174,7 @@ LRESULT LocalInputMonitorWin::Core::OnInput(HRAWINPUT input_handle) { } // Retrieve the input record itself. - scoped_ptr<uint8[]> buffer(new uint8[size]); + scoped_ptr<uint8_t[]> buffer(new uint8_t[size]); RAWINPUT* input = reinterpret_cast<RAWINPUT*>(buffer.get()); result = GetRawInputData(input_handle, RID_INPUT, |