Skip to content

New warnings: 'function': conversion from 'int64_t' to 'int', possible loss of data #99984

Closed
@sobolevn

Description

@sobolevn

Bug report

GitHub is showing new warnings in Modules/_xxsubinterpretersmodule.c:
Снимок экрана 2022-12-04 в 12 07 02

'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Looks like #99940 is the cause.
Link: https://github.com/python/cpython/blame/bf26bdf6ac04878fc720e78422991aaedb9808a1/Modules/_xxsubinterpretersmodule.c#L2530
CC @ericsnowcurrently

Linked PRs

Metadata

Metadata

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions