Skip to content

Commit

Permalink
Fix a warning about comparison of integers of different signs
Browse files Browse the repository at this point in the history
Bug: webrtc:9583
Change-Id: I94df0efa0a0fd5666a42dbd6997ac1b00b3844bd
Reviewed-on: https://webrtc-review.googlesource.com/92040
Reviewed-by: Magnus Jedvert <[email protected]>
Commit-Queue: Oleh Prypin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#24171}
  • Loading branch information
oprypin authored and Commit Bot committed Aug 2, 2018
1 parent f8d81d3 commit 31f1596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/peerconnection/client/main_wnd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void MainWnd::OnPaint() {

// Set the map mode so that the ratio will be maintained for us.
HDC all_dc[] = {ps.hdc, dc_mem};
for (int i = 0; i < arraysize(all_dc); ++i) {
for (size_t i = 0; i < arraysize(all_dc); ++i) {
SetMapMode(all_dc[i], MM_ISOTROPIC);
SetWindowExtEx(all_dc[i], width, height, NULL);
SetViewportExtEx(all_dc[i], rc.right, rc.bottom, NULL);
Expand Down

0 comments on commit 31f1596

Please sign in to comment.