mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix compiler warnings on Windows introduced in bpo-13617. (#2464)
This commit is contained in:
parent
f7eae0adfc
commit
ccdc09ed1e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue