From: Pablo Galindo Salgado Date: Mon, 4 Oct 2021 11:13:46 +0000 (+0100) Subject: Fix compiler warning in ceval.c regarding signed comparison (GH-28716) X-Git-Tag: v3.11.0a1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07cf10bafc8f6e1fcc82c10d97d3452325fc7c04;p=thirdparty%2FPython%2Fcpython.git Fix compiler warning in ceval.c regarding signed comparison (GH-28716) --- diff --git a/Python/ceval.c b/Python/ceval.c index c951e563cd7a..8f65bb3aec4b 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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) {