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

Unified Diff: remoting/host/win/wts_session_process_delegate.cc

Issue 2461563002: Fix a truncation warning in wts_session_process_delegate.cc. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/wts_session_process_delegate.cc
diff --git a/remoting/host/win/wts_session_process_delegate.cc b/remoting/host/win/wts_session_process_delegate.cc
index b0bc149505b67e58b76a51416344255c75fe7fd9..e9f1ef05993dd14892f227faf377bd0937bd286b 100644
--- a/remoting/host/win/wts_session_process_delegate.cc
+++ b/remoting/host/win/wts_session_process_delegate.cc
@@ -309,7 +309,8 @@ void WtsSessionProcessDelegate::Core::OnIOCompleted(
case JOB_OBJECT_MSG_NEW_PROCESS: {
caller_task_runner_->PostTask(
FROM_HERE, base::Bind(&Core::OnProcessLaunchDetected, this,
- reinterpret_cast<base::ProcessId>(context)));
+ static_cast<base::ProcessId>(
+ reinterpret_cast<uintptr_t>(context))));
break;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698