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

Unified Diff: webrtc/modules/desktop_capture/win/cursor.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 3 months 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
Index: webrtc/modules/desktop_capture/win/cursor.cc
diff --git a/webrtc/modules/desktop_capture/win/cursor.cc b/webrtc/modules/desktop_capture/win/cursor.cc
index cabe5656dc997a58e7229a62242b98b0f0ab1e36..58a6469119e0c96a5681da050dc53778e3f125d8 100644
--- a/webrtc/modules/desktop_capture/win/cursor.cc
+++ b/webrtc/modules/desktop_capture/win/cursor.cc
@@ -77,7 +77,7 @@ void AddCursorOutline(int width, int height, uint32_t* data) {
// the corresponding alpha components.
void AlphaMul(uint32_t* data, int width, int height) {
static_assert(sizeof(uint32_t) == kBytesPerPixel,
- "size of uint32 should be the number of bytes per pixel");
+ "size of uint32_t should be the number of bytes per pixel");
for (uint32_t* data_end = data + width * height; data != data_end; ++data) {
RGBQUAD* from = reinterpret_cast<RGBQUAD*>(data);

Powered by Google App Engine
This is Rietveld 408576698