Commit c39d1ddc authored by Dong-hee Na's avatar Dong-hee Na Committed by Inada Naoki

Fix strict-aliasing rules errors on gcc 4.8.5. (GH-16714)

parent a8e0d314
......@@ -1133,7 +1133,7 @@ insert_to_emptydict(PyDictObject *mp, PyObject *key, Py_hash_t hash,
MAINTAIN_TRACKING(mp, key, value);
size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[0];
PyDictKeyEntry *ep = DK_ENTRIES(mp->ma_keys);
dictkeys_set_index(mp->ma_keys, hashpos, 0);
ep->me_key = key;
ep->me_hash = hash;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment