Skip to content

bpo-38321: Fix PyCStructUnionType_update_stgdict() warning#16492

Merged
vsajip merged 1 commit intopython:masterfrom
vstinner:fix_ctypes_warn
Sep 30, 2019
Merged

bpo-38321: Fix PyCStructUnionType_update_stgdict() warning#16492
vsajip merged 1 commit intopython:masterfrom
vstinner:fix_ctypes_warn

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Sep 30, 2019

bpo-22273, bpo-38321: Fix following warning:

modules\_ctypes\stgdict.c(704):
warning C4244: 'initializing': conversion from 'Py_ssize_t' to
'int', possible loss of data

https://bugs.python.org/issue38321

bpo-22273, bpo-38321: Fix following warning:

    modules\_ctypes\stgdict.c(704):
    warning C4244: 'initializing': conversion from 'Py_ssize_t' to
    'int', possible loss of data
@vsajip vsajip merged commit c9a413e into python:master Sep 30, 2019
vstinner added a commit that referenced this pull request Oct 1, 2019
* bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493)

bpo-38248, bpo-38321: Fix warning:

    modules\_asynciomodule.c(2667):
    warning C4102: 'set_exception': unreferenced label

The related goto has been removed by
commit edad4d8.

(cherry picked from commit efe74b6)

* bpo-38321: Fix PyCStructUnionType_update_stgdict() warning (GH-16492)

bpo-22273, bpo-38321: Fix following warning:

    modules\_ctypes\stgdict.c(704):
    warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data

(cherry picked from commit c9a413e)
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
…16492)

bpo-22273, bpo-38321: Fix following warning:

    modules\_ctypes\stgdict.c(704):
    warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data
@vstinner vstinner deleted the fix_ctypes_warn branch January 30, 2020 12:21
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.

4 participants