diff options
Diffstat (limited to 'PC/_winreg.c')
-rw-r--r-- | PC/_winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c index 5e5f2e5..4deb5a9 100644 --- a/PC/_winreg.c +++ b/PC/_winreg.c @@ -773,7 +773,7 @@ Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize) if (value == Py_None) *retDataSize = 0; else { - PyBuffer view; + Py_buffer view; if (!PyObject_CheckBuffer(value)) { PyErr_Format(PyExc_TypeError, |