fix _PyObject_CallArg1 compiler warnings (closes #28855)
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 @@
     _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,