From 3bf45f36381a915a7a0f188af54a61a8b503bb11 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 11 Nov 2019 23:23:47 +0100 Subject: [PATCH] Fixed MSVC build error. --- src/pya/pya/pya.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pya/pya/pya.cc b/src/pya/pya/pya.cc index 57d1d10bb..8fd5c39ce 100644 --- a/src/pya/pya/pya.cc +++ b/src/pya/pya/pya.cc @@ -207,7 +207,7 @@ PythonInterpreter::PythonInterpreter (bool embedded) tl_assert (sizeof (wchar_t) == 2); - Py_SetPythonHome (L""); // really ignore $PYTHONHOME + without this, we get dummy error message about lacking path for libraries + Py_SetPythonHome ((wchar_t *) L""); // really ignore $PYTHONHOME + without this, we get dummy error message about lacking path for libraries const wchar_t *python_path = _wgetenv (L"KLAYOUT_PYTHONPATH"); if (python_path) {