We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7eae0a commit ccdc09eCopy full SHA for ccdc09e
Modules/_ctypes/callproc.c
@@ -1249,7 +1249,7 @@ The handle may be used to locate exported functions in this\n\
1249
module.\n";
1250
static PyObject *load_library(PyObject *self, PyObject *args)
1251
{
1252
- WCHAR *name;
+ const WCHAR *name;
1253
PyObject *nameobj;
1254
PyObject *ignored;
1255
HMODULE hMod;
PC/_msi.c
@@ -594,7 +594,7 @@ summary_setproperty(msiobj* si, PyObject *args)
594
return NULL;
595
596
if (PyUnicode_Check(data)) {
597
- WCHAR *value = _PyUnicode_AsUnicode(data);
+ const WCHAR *value = _PyUnicode_AsUnicode(data);
598
if (value == NULL) {
599
600
}
0 commit comments