summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/client_control_dispatcher.cc
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-22 15:15:43 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-22 23:17:06 +0000
commit5a080f017c68b6230a6acea6cca89414d12db661 (patch)
treed80c0813bbf91d8d2b9f477ccdfaba26c77fc33e /remoting/protocol/client_control_dispatcher.cc
parent4bcdaa935641c632c546917e0442ade23c0a01a2 (diff)
downloadchromium_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.cc4
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 "