mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727)
This commit is contained in:
parent
dfef986f12
commit
d0c92e81aa
1 changed files with 1 additions and 1 deletions
|
@ -1864,7 +1864,7 @@ hamt_node_array_without(PyHamtNode_Array *self,
|
|||
continue;
|
||||
}
|
||||
|
||||
bitmap |= 1 << i;
|
||||
bitmap |= 1U << i;
|
||||
|
||||
if (IS_BITMAP_NODE(node)) {
|
||||
PyHamtNode_Bitmap *child = (PyHamtNode_Bitmap *)node;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue