summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-02-19 00:42:36 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-02-19 00:44:39 +0100
commit4f97bfb3c2f4b4bae40edbdfcdcfcdd8587c1c11 (patch)
treeb317cba0ffcd8464ddb09700b008b664f927f48e /desktop
parent99457255b69e67b276339d98f977ada8caa25753 (diff)
fix updater on windows
Change-Id: Ib6f2334a3f6f3f5c217a71e2967a69e354b0a473 Reviewed-on: https://gerrit.libreoffice.org/49956 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/updater.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index e34cc6a7cce0..867b5f737329 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -152,7 +152,7 @@ void createStr(const OUString& rStr, CharT** pArgs, size_t i)
#error "Need an implementation"
#endif
CharT* pStr = new CharT[aStr.getLength() + 1];
- tstrncpy(pStr, aStr.getStr(), aStr.getLength());
+ tstrncpy(pStr, (CharT*)aStr.getStr(), aStr.getLength());
pStr[aStr.getLength()] = '\0';
pArgs[i] = pStr;
}