diff options
author | avi <avi@chromium.org> | 2015-12-22 15:15:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-22 23:17:06 +0000 |
commit | 5a080f017c68b6230a6acea6cca89414d12db661 (patch) | |
tree | d80c0813bbf91d8d2b9f477ccdfaba26c77fc33e /remoting/protocol/client_control_dispatcher.cc | |
parent | 4bcdaa935641c632c546917e0442ade23c0a01a2 (diff) | |
download | chromium_src-5a080f017c68b6230a6acea6cca89414d12db661.zip chromium_src-5a080f017c68b6230a6acea6cca89414d12db661.tar.gz chromium_src-5a080f017c68b6230a6acea6cca89414d12db661.tar.bz2 |
Switch to standard integer types in remoting/.
BUG=138542
TBR=wez@chromium.org
Review URL: https://codereview.chromium.org/1542203002
Cr-Commit-Position: refs/heads/master@{#366684}
Diffstat (limited to 'remoting/protocol/client_control_dispatcher.cc')
-rw-r--r-- | remoting/protocol/client_control_dispatcher.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/protocol/client_control_dispatcher.cc b/remoting/protocol/client_control_dispatcher.cc index f8cdc51..2005342 100644 --- a/remoting/protocol/client_control_dispatcher.cc +++ b/remoting/protocol/client_control_dispatcher.cc @@ -4,6 +4,8 @@ #include "remoting/protocol/client_control_dispatcher.h" +#include <stdint.h> + #include "base/bind_helpers.h" #include "base/callback.h" #include "base/callback_helpers.h" @@ -44,7 +46,7 @@ bool CursorShapeIsValid(const CursorShapeInfo& cursor_shape) { return false; } - uint32 cursor_total_bytes = width * height * kBytesPerPixel; + uint32_t cursor_total_bytes = width * height * kBytesPerPixel; if (cursor_shape.data().size() < cursor_total_bytes) { LOG(ERROR) << "Expected " << cursor_total_bytes << " bytes for a " << width << "x" << height << " cursor. Only received " |