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

Unified Diff: util/win/exception_handler_server.cc

Issue 1503403003: win: Fix a few sign mismatch warnings in crashpad. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad.git@master
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
« snapshot/win/process_reader_win.cc ('K') | « snapshot/win/process_reader_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/exception_handler_server.cc
diff --git a/util/win/exception_handler_server.cc b/util/win/exception_handler_server.cc
index 47815ceae6554c8dd72fb8f11ea918254a3cfa58..4273523fd285eda03d9b2e17770627f548cc6420 100644
--- a/util/win/exception_handler_server.cc
+++ b/util/win/exception_handler_server.cc
@@ -347,7 +347,7 @@ std::wstring ExceptionHandlerServer::CreatePipe() {
void ExceptionHandlerServer::Run(Delegate* delegate) {
uint64_t shutdown_token = base::RandUint64();
ScopedKernelHANDLE thread_handles[kPipeInstances];
- for (int i = 0; i < arraysize(thread_handles); ++i) {
+ for (size_t i = 0; i < arraysize(thread_handles); ++i) {
HANDLE pipe;
if (first_pipe_instance_.is_valid()) {
pipe = first_pipe_instance_.release();
@@ -399,7 +399,7 @@ void ExceptionHandlerServer::Run(Delegate* delegate) {
}
// Signal to the named pipe instances that they should terminate.
- for (int i = 0; i < arraysize(thread_handles); ++i) {
+ for (size_t i = 0; i < arraysize(thread_handles); ++i) {
ClientToServerMessage message;
memset(&message, 0, sizeof(message));
message.type = ClientToServerMessage::kShutdown;
« snapshot/win/process_reader_win.cc ('K') | « snapshot/win/process_reader_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698