Commit ccdc09ed authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

Fix compiler warnings on Windows introduced in bpo-13617. (#2464)

parent f7eae0ad
......@@ -1249,7 +1249,7 @@ The handle may be used to locate exported functions in this\n\
module.\n";
static PyObject *load_library(PyObject *self, PyObject *args)
{
WCHAR *name;
const WCHAR *name;
PyObject *nameobj;
PyObject *ignored;
HMODULE hMod;
......
......@@ -594,7 +594,7 @@ summary_setproperty(msiobj* si, PyObject *args)
return NULL;
if (PyUnicode_Check(data)) {
WCHAR *value = _PyUnicode_AsUnicode(data);
const WCHAR *value = _PyUnicode_AsUnicode(data);
if (value == NULL) {
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment