summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/zipcore/python.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/zipcore/python.cxx b/pyuno/zipcore/python.cxx
index 34ff2e2da7e3..9ef71839a1e2 100644
--- a/pyuno/zipcore/python.cxx
+++ b/pyuno/zipcore/python.cxx
@@ -183,7 +183,7 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
if (GetLastError() != ERROR_ENVVAR_NOT_FOUND) {
exit(EXIT_FAILURE);
}
- orig = L"";
+ orig = (wchar_t *)L"";
} else {
orig = new wchar_t[n];
if (orig == NULL ||
@@ -208,7 +208,7 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
if (GetLastError() != ERROR_ENVVAR_NOT_FOUND) {
exit(EXIT_FAILURE);
}
- orig = L"";
+ orig = (wchar_t *)L"";
} else {
orig = new wchar_t[n];
if (orig == NULL ||