You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warning: "'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'int64_t'" #116386
./Modules/_xxinterpqueuesmodule.c:762:22: warning: format specifies type 'long long' but the argument has type 'Py_ssize_t' (aka 'long') [-Wformat]
qid, queue->items.count);
^~~~~~~~~~~~~~~~~~
FTR, I fixed this in gh-116369. However, in that PR I used PRId64 one too many times and a new warning showed up. (See #116369 (comment).) @sobolevn's PR fixes that.
Activity
sobolevn commentedon Mar 5, 2024
Also happen locally:
I think that I know how to fix it.
pythongh-116386: Fix format string "%ld" warning in `_xxinterpqueuesm…
pythongh-116386: Fix format string "%ld" warning in `_xxinterpqueuesm…
ericsnowcurrently commentedon Mar 6, 2024
FTR, I fixed this in gh-116369. However, in that PR I used
PRId64one too many times and a new warning showed up. (See #116369 (comment).) @sobolevn's PR fixes that.gh-116386: Fix format string "%ld" warning in `_xxinterpqueuesmodule` (…
pythongh-116386: Fix format string "%ld" warning in `_xxinterpqueuesm…
pythongh-116386: Fix format string "%ld" warning in `_xxinterpqueuesm…