summaryrefslogtreecommitdiff
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-12-01 22:01:32 -0800
committerBenjamin Peterson <benjamin@python.org>2016-12-01 22:01:32 -0800
commit7cf9e13f251463568883269911221457b412977a (patch)
tree16c1b3154bc3c3705616cdd3359d53b444496a22 /Include/abstract.h
parentd6958ac6c0fec90524bf9c4999c8bc75fff0c71b (diff)
downloadcpython-git-7cf9e13f251463568883269911221457b412977a.tar.gz
fix _PyObject_CallArg1 compiler warnings (closes #28855)
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h2
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,