diff options
Diffstat (limited to 'Modules/_winapi.c')
-rw-r--r-- | Modules/_winapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 671f2dd..682d0a3 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -844,8 +844,7 @@ _winapi_CreateProcess_impl(PyObject *module, Py_UNICODE *application_name, PROCESS_INFORMATION pi; STARTUPINFOW si; PyObject* environment; - const wchar_t *wenvironment; - Py_ssize_t wenvironment_size; + wchar_t *wenvironment; ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si); |