diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-12-01 22:01:32 -0800 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-12-01 22:01:32 -0800 |
commit | bfd49e943b6ca6172715524e1676b66208b59167 (patch) | |
tree | 70176b7d373ae46a091ad316f43c20d1c223f40e /Include/abstract.h | |
parent | e33e89d2c75b85e9a0fc35e8261567e8acd59c81 (diff) | |
download | cpython-bfd49e943b6ca6172715524e1676b66208b59167.tar.gz |
fix _PyObject_CallArg1 compiler warnings (closes #28855)
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 727d1a8f7b..900ef23932 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -341,7 +341,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ _PyObject_FastCall((func), NULL, 0) #define _PyObject_CallArg1(func, arg) \ - _PyObject_FastCall((func), &(arg), 1) + _PyObject_FastCall((func), (PyObject **)&(arg), 1) PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend(PyObject *func, PyObject *obj, PyObject *args, |