mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-106529: Silence compiler warning in jump target patching (#106613)
(gh-106551 caused a compiler warning about on Windows.)
This commit is contained in:
parent
115df8491a
commit
4bd8320dd7
1 changed files with 2 additions and 2 deletions
|
@ -548,8 +548,8 @@ done:
|
|||
if (trace[i].opcode == _POP_JUMP_IF_FALSE ||
|
||||
trace[i].opcode == _POP_JUMP_IF_TRUE)
|
||||
{
|
||||
int target = trace[i].operand;
|
||||
if (target >= max_length) {
|
||||
uint64_t target = trace[i].operand;
|
||||
if (target >= (uint64_t)max_length) {
|
||||
target += trace_length - max_length;
|
||||
trace[i].operand = target;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue