Skip to content

Commit 4fa26a8

Browse files
committed
fix
1 parent 2eaf1cf commit 4fa26a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/unicodeobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ typedef struct {
198198
/* Use only if you know it's a string */
199199
static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
200200
#ifdef Py_GIL_DISABLED
201-
return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
201+
return _Py_atomic_load_uint16_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
202202
#else
203203
return _PyASCIIObject_CAST(op)->state.interned;
204204
#endif

0 commit comments

Comments
 (0)