[Python-checkins] cpython: fix _PyObject_CallArg1 compiler warnings (closes #28855)
benjamin.peterson
python-checkins at python.org
Fri Dec 2 01:01:38 EST 2016
https://hg.python.org/cpython/rev/96245d4af0ca
changeset: 105411:96245d4af0ca
parent: 105409:be70d64bbf88
user: Benjamin Peterson <benjamin at python.org>
date: Thu Dec 01 22:01:32 2016 -0800
summary:
fix _PyObject_CallArg1 compiler warnings (closes #28855)
files:
Include/abstract.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/abstract.h b/Include/abstract.h
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -341,7 +341,7 @@
_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,
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list