-Werror,-Wstring-plus-int

Change-Id: Ie16ca73ac3d622d00583ef454780f9a01b32d436
This commit is contained in:
Stephan Bergmann
2015-11-27 09:26:42 +01:00
parent 687d97b96a
commit 353b7dde33

View File

@@ -112,8 +112,8 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
} }
wcscpy( wcscpy(
cmd + pathsize, cmd + pathsize,
(L"\\unoinfo.exe\" c++" + &L"\\unoinfo.exe\" c++"[
(pathsize == 1 || cmd[pathsize - 1] != L'\\' ? 0 : 1))); pathsize == 1 || cmd[pathsize - 1] != L'\\' ? 0 : 1]);
sec.nLength = sizeof (SECURITY_ATTRIBUTES); sec.nLength = sizeof (SECURITY_ATTRIBUTES);
sec.lpSecurityDescriptor = NULL; sec.lpSecurityDescriptor = NULL;
sec.bInheritHandle = TRUE; sec.bInheritHandle = TRUE;