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

This commit is contained in:
Serhiy Storchaka 2017-06-28 09:55:22 +03:00 committed by GitHub
parent f7eae0adfc
commit ccdc09ed1e
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}