summaryrefslogtreecommitdiff
path: root/odk/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 09:26:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 08:44:50 +0100
commit353b7dde331a30ccad159a5948376fb011cd781c (patch)
tree15fb1596b64ddc4e4fa386691867d8d83782c4fd /odk/source
parent687d97b96ab97fa8bbd1c5112a0e4b43914c69f6 (diff)
-Werror,-Wstring-plus-int
Change-Id: Ie16ca73ac3d622d00583ef454780f9a01b32d436
Diffstat (limited to 'odk/source')
-rw-r--r--odk/source/unoapploader/win/unoapploader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/source/unoapploader/win/unoapploader.c b/odk/source/unoapploader/win/unoapploader.c
index 7579aa4d3cf0..9b2c1d335895 100644
--- a/odk/source/unoapploader/win/unoapploader.c
+++ b/odk/source/unoapploader/win/unoapploader.c
@@ -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;