From 7cf9e13f251463568883269911221457b412977a Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 1 Dec 2016 22:01:32 -0800 Subject: fix _PyObject_CallArg1 compiler warnings (closes #28855) --- Include/abstract.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/abstract.h b/Include/abstract.h index 727d1a8..900ef23 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, -- cgit v0.12