Skip to content

Commit 6468c7c

Browse files
fix compliation
1 parent c889427 commit 6468c7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Objects/object.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,8 @@ _PyObject_GetMethodStackRef(PyThreadState *ts, PyObject *obj,
17601760
// ref is not visible to gc so there should be
17611761
// no escaping calls before assigning it to method
17621762
PyDictObject *mp = (PyDictObject *)dict;
1763-
bool unicode_keys = DK_IS_UNICODE(FT_ATOMIC_LOAD_PTR_ACQUIRE(mp->ma_keys));
1763+
PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(mp->ma_keys);
1764+
bool unicode_keys = DK_IS_UNICODE(keys);
17641765
_PyStackRef ref;
17651766
if (!unicode_keys) {
17661767
Py_INCREF(mp);

0 commit comments

Comments
 (0)