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

Unified Diff: base/process/launch_win.cc

Issue 419323002: clang/win: Fix a few warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: base/process/launch_win.cc
diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc
index fdaa5eb10e3195cda85880bd45b5889224e6bea1..48764658e33e9d12717a6ee0a44d2e3ffb861345 100644
--- a/base/process/launch_win.cc
+++ b/base/process/launch_win.cc
@@ -149,7 +149,7 @@ bool LaunchProcess(const string16& cmdline,
}
if (options.empty_desktop_name)
- startup_info->lpDesktop = L"";
+ startup_info->lpDesktop = const_cast<wchar_t*>(L"");
startup_info->dwFlags = STARTF_USESHOWWINDOW;
startup_info->wShowWindow = options.start_hidden ? SW_HIDE : SW_SHOW;

Powered by Google App Engine
This is Rietveld 408576698