diff options
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 635a738985..88addfda8f 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -286,7 +286,7 @@ static inline Py_hash_t unicode_get_hash(PyObject *o) { assert(PyUnicode_CheckExact(o)); - return ((PyASCIIObject*)o)->hash; + return _PyASCIIObject_CAST(o)->hash; } /* Print summary info about the state of the optimized allocator */ |