Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1428)

Unified Diff: remoting/protocol/client_control_dispatcher.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/client_control_dispatcher.h ('k') | remoting/protocol/client_event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_control_dispatcher.cc
diff --git a/remoting/protocol/client_control_dispatcher.cc b/remoting/protocol/client_control_dispatcher.cc
index f8cdc514b8b3203ad8bb0679accd779ac98d0d3e..2005342c5542f17225229b97aa4ee6e12c244b86 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 "
« no previous file with comments | « remoting/protocol/client_control_dispatcher.h ('k') | remoting/protocol/client_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698