Kaydet (Commit) 353b7dde authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wstring-plus-int

Change-Id: Ie16ca73ac3d622d00583ef454780f9a01b32d436
üst 687d97b9
......@@ -112,8 +112,8 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
}
wcscpy(
cmd + pathsize,
(L"\\unoinfo.exe\" c++" +
(pathsize == 1 || cmd[pathsize - 1] != L'\\' ? 0 : 1)));
&L"\\unoinfo.exe\" c++"[
pathsize == 1 || cmd[pathsize - 1] != L'\\' ? 0 : 1]);
sec.nLength = sizeof (SECURITY_ATTRIBUTES);
sec.lpSecurityDescriptor = NULL;
sec.bInheritHandle = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment