mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix compiler warning in ceval.c regarding signed comparison (GH-28716)
This commit is contained in:
parent
252b7bcb23
commit
07cf10bafc
1 changed files with 1 additions and 1 deletions
|
@ -7015,7 +7015,7 @@ maybe_dtrace_line(InterpreterFrame *frame,
|
|||
if (line != -1) {
|
||||
/* Trace backward edges or first instruction of a new line */
|
||||
if (frame->f_lasti < instr_prev ||
|
||||
(line != lastline && frame->f_lasti*sizeof(_Py_CODEUNIT) == trace_info->bounds.ar_start))
|
||||
(line != lastline && frame->f_lasti*sizeof(_Py_CODEUNIT) == (unsigned int)trace_info->bounds.ar_start))
|
||||
{
|
||||
co_filename = PyUnicode_AsUTF8(frame->f_code->co_filename);
|
||||
if (!co_filename) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue