Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
}
static PyObject *py_dcerpc_call_wrapper(PyObject *self, PyObject *args, void *wrapped, PyObject *kwargs)
-{
+{
dcerpc_InterfaceObject *iface = (dcerpc_InterfaceObject *)self;
const struct PyNdrRpcMethodDef *md = (const struct PyNdrRpcMethodDef *)wrapped;
ret = PyDescr_NewWrapper(ifacetype, wb, discard_const_p(void, &mds[i]));
- PyDict_SetItemString(ifacetype->tp_dict, mds[i].name,
+ PyDict_SetItemString(ifacetype->tp_dict, mds[i].name,
(PyObject *)ret);
Py_CLEAR(ret);
}