Skip to content

Commit a8544c3

Browse files
committed
Avoid MSC warning about implicit cast
1 parent 9e730d1 commit a8544c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ translate_bytecode_to_trace(
424424
}
425425
}
426426
instr++;
427-
ADD_TO_TRACE(SET_IP, instr - (_Py_CODEUNIT *)code->co_code_adaptive);
427+
ADD_TO_TRACE(SET_IP, (int)(instr - (_Py_CODEUNIT *)code->co_code_adaptive));
428428
}
429429
done:
430430
if (trace_length > 0) {

0 commit comments

Comments
 (0)