Index: chrome/common/process_watcher_posix.cc |
diff --git a/chrome/common/process_watcher_posix.cc b/chrome/common/process_watcher_posix.cc |
index 0991f0cb1e94ec6fc1681b6779c89eb8511544b5..8f0910190cf2cbb1cf14d6db0fb48e8cacfd11fb 100644 |
--- a/chrome/common/process_watcher_posix.cc |
+++ b/chrome/common/process_watcher_posix.cc |
@@ -15,7 +15,7 @@ |
// Return true if the given child is dead. This will also reap the process. |
// Doesn't block. |
static bool IsChildDead(pid_t child) { |
- const int result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); |
+ const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); |
if (result == -1) { |
NOTREACHED(); |
} else if (result > 0) { |