Skip to content

gh-76785: Use PRId64 to Fix a Compiler Warning on Windows#116369

Merged
ericsnowcurrently merged 1 commit intopython:mainfrom
ericsnowcurrently:fix-compiler-warnings
Mar 5, 2024
Merged

gh-76785: Use PRId64 to Fix a Compiler Warning on Windows#116369
ericsnowcurrently merged 1 commit intopython:mainfrom
ericsnowcurrently:fix-compiler-warnings

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Mar 5, 2024

@gvanrossum
Copy link
Member

Hey @ericsnowcurrently, on macOS I now (or still?) get a warning:

./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);
                     ^~~~~~~~~~~~~~~~~~

@AlexWaygood
Copy link
Member

Hey @ericsnowcurrently, on macOS I now (or still?) get a warning:

./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);
                     ^~~~~~~~~~~~~~~~~~

Nikita's already got a PR up to fix it: #116387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants