summaryrefslogtreecommitdiffstats
path: root/PC/_msi.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-28 06:55:22 (GMT)
committerGitHub <noreply@github.com>2017-06-28 06:55:22 (GMT)
commitccdc09ed1ebea7d7c6b41548132aa08bd797bfe8 (patch)
tree6c39c86a54ebb2c473fe4a27e5c07d29bb2bdf6f /PC/_msi.c
parentf7eae0adfcd4c50034281b2c69f461b43b68db84 (diff)
downloadcpython-ccdc09ed1ebea7d7c6b41548132aa08bd797bfe8.zip
cpython-ccdc09ed1ebea7d7c6b41548132aa08bd797bfe8.tar.gz
cpython-ccdc09ed1ebea7d7c6b41548132aa08bd797bfe8.tar.bz2
Fix compiler warnings on Windows introduced in bpo-13617. (#2464)
Diffstat (limited to 'PC/_msi.c')
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index a901f98..9c3f9f6 100644
--- a/PC/_msi.c
+++ b/PC/_msi.c
@@ -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;
}