summaryrefslogtreecommitdiff
path: root/Modules/linuxaudiodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/linuxaudiodev.c')
-rw-r--r--Modules/linuxaudiodev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/linuxaudiodev.c b/Modules/linuxaudiodev.c
index b435d768a8..730ec0cde3 100644
--- a/Modules/linuxaudiodev.c
+++ b/Modules/linuxaudiodev.c
@@ -441,8 +441,7 @@ lad_getattr(lad_t *xp, char *name)
}
static PyTypeObject Ladtype = {
- PyObject_HEAD_INIT(&PyType_Type)
- 0, /*ob_size*/
+ PyVarObject_HEAD_INIT(&PyType_Type, 0)
"linuxaudiodev.linux_audio_device", /*tp_name*/
sizeof(lad_t), /*tp_size*/
0, /*tp_itemsize*/