Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Nov 13, 2020

Explicitly cast PyExc_Exception to PyTypeObject* to fix the warning:

modules\_ctypes\_ctypes.c(5748): warning C4133: '=': incompatible types - from 'PyObject *' to '_typeobject *' 

https://bugs.python.org/issue38823

Explicitly cast PyExc_Exception to PyTypeObject* to fix the warning: modules\_ctypes\_ctypes.c(5748): warning C4133: '=': incompatible types - from 'PyObject *' to '_typeobject *'
@vstinnervstinner merged commit 0cec97e into python:masterNov 13, 2020
@vstinnervstinner deleted the fix_ctypes_win_warn branch November 13, 2020 13:44
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Explicitly cast PyExc_Exception to PyTypeObject* to fix the warning: modules\_ctypes\_ctypes.c(5748): warning C4133: '=': incompatible types - from 'PyObject *' to '_typeobject *'
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.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot