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

Unified Diff: mojo/shell/app_container.cc

Issue 23913008: C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build error. Created 7 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 | « mojo/public/system/macros.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/app_container.cc
diff --git a/mojo/shell/app_container.cc b/mojo/shell/app_container.cc
index b679973cd30c254c134b60b9b98dec0a31024094..7a1d5003a5a643200fbd445eebc32854be19a27d 100644
--- a/mojo/shell/app_container.cc
+++ b/mojo/shell/app_container.cc
@@ -71,7 +71,8 @@ void AppContainer::LaunchApp(const base::FilePath& app_path) {
base::Bind(&AppContainer::AppCompleted, weak_factory_.GetWeakPtr()));
const char* hello_msg = "Hello";
- result = WriteMessage(shell_handle_, hello_msg, strlen(hello_msg)+1,
+ result = WriteMessage(shell_handle_, hello_msg,
+ static_cast<uint32_t>(strlen(hello_msg)+1),
NULL, 0, MOJO_WRITE_MESSAGE_FLAG_NONE);
if (result < MOJO_RESULT_OK) {
// Failure..
« no previous file with comments | « mojo/public/system/macros.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698