Skip to content

gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h - #124177

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:conversion2
Sep 17, 2024
Merged

gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h#124177
vstinner merged 2 commits into
python:mainfrom
vstinner:conversion2

Conversation

@vstinner

@vstinnervstinner commented Sep 17, 2024

Copy link
Copy Markdown
Member

Change also the fix for pycore_gc.h and pycore_stackref.h: declare constants as uintptr_t rather than casting constants.

Change also the fix for pycore_gc.h and pycore_stackref.h: declare
constants as uintptr_t rather than casting constants.
@vstinner
vstinner enabled auto-merge (squash) September 17, 2024 15:30
@vstinner
vstinner merged commit ec08aa1 into python:mainSep 17, 2024
@vstinner
vstinner deleted the conversion2 branch September 17, 2024 15:35
@zwarezware mentioned this pull request Sep 18, 2024
savannahostrowski pushed a commit to savannahostrowski/cpython that referenced this pull request Sep 22, 2024
…ython#124177)
Change also the fix for pycore_gc.h and pycore_stackref.h:
declare constants as uintptr_t, rather than casting constants.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner