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

Unified Diff: remoting/client/plugin/pepper_cursor_setter.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/client/plugin/pepper_cursor_setter.h ('k') | remoting/client/plugin/pepper_input_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_cursor_setter.cc
diff --git a/remoting/client/plugin/pepper_cursor_setter.cc b/remoting/client/plugin/pepper_cursor_setter.cc
index 3d1effd1fb3e1393790c25e65e085ddabcb1033a..2e1a919cf9fcbfe2752192eb5382acec4a94f500 100644
--- a/remoting/client/plugin/pepper_cursor_setter.cc
+++ b/remoting/client/plugin/pepper_cursor_setter.cc
@@ -4,6 +4,8 @@
#include "remoting/client/plugin/pepper_cursor_setter.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "ppapi/cpp/image_data.h"
#include "ppapi/cpp/mouse_cursor.h"
@@ -66,7 +68,7 @@ bool PepperCursorSetter::SetInstanceCursor(
const uint32_t* src_row_data = reinterpret_cast<const uint32_t*>(
cursor_shape.data().data());
const int bytes_per_row = size.width() * kBytesPerPixel;
- uint8* dst_row_data = reinterpret_cast<uint8*>(image.data());
+ uint8_t* dst_row_data = reinterpret_cast<uint8_t*>(image.data());
for (int row = 0; row < size.height(); row++) {
memcpy(dst_row_data, src_row_data, bytes_per_row);
src_row_data += size.width();
« no previous file with comments | « remoting/client/plugin/pepper_cursor_setter.h ('k') | remoting/client/plugin/pepper_input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698