Skip to content

Commit 07cf10b

Browse files
authored
Fix compiler warning in ceval.c regarding signed comparison (GH-28716)
1 parent 252b7bc commit 07cf10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7015,7 +7015,7 @@ maybe_dtrace_line(InterpreterFrame *frame,
70157015
if (line != -1) {
70167016
/* Trace backward edges or first instruction of a new line */
70177017
if (frame->f_lasti < instr_prev ||
7018-
(line != lastline && frame->f_lasti*sizeof(_Py_CODEUNIT) == trace_info->bounds.ar_start))
7018+
(line != lastline && frame->f_lasti*sizeof(_Py_CODEUNIT) == (unsigned int)trace_info->bounds.ar_start))
70197019
{
70207020
co_filename = PyUnicode_AsUTF8(frame->f_code->co_filename);
70217021
if (!co_filename) {

0 commit comments

Comments
 (0)