Skip to content

Commit b185436

Browse files
Fix build
1 parent 5db0944 commit b185436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11596,7 +11596,7 @@ update_one_slot(PyTypeObject *type, pytype_slotdef *p, pytype_slotdef **next_p,
1159611596
if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
1159711597
((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
1159811598
void **tptr;
11599-
size_t index = (p - slotdefs) / sizeof(slotdef[0]);
11599+
size_t index = (p - slotdefs) / sizeof(slotdefs[0]);
1160011600
if (slotdefs_name_counts[index] == 1) {
1160111601
tptr = slotptr(type, p->offset);
1160211602
}

0 commit comments

Comments
 (0)