mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
pynbt: eliminate "initialization from incompatible pointer type" warning
by fixing the signature of py_nbt_node_init(). Jelmer - please check! Michael (This used to be commit a7ee17a10f330297dc4d9d15499276b3985c7a51)
This commit is contained in:
parent
be46118091
commit
4cd722b912
@ -38,7 +38,7 @@ static void py_nbt_node_dealloc(PyObject *obj)
|
||||
PyObject_Del(obj);
|
||||
}
|
||||
|
||||
static PyObject *py_nbt_node_init(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||
static PyObject *py_nbt_node_init(PyTypeObject *self, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
struct event_context *ev;
|
||||
nbt_node_Object *ret = PyObject_New(nbt_node_Object, &nbt_node_Type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user