summaryrefslogtreecommitdiffstats
path: root/PC/_msi.c
diff options
context:
space:
mode:
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;
}