From 4cd722b912b6ef0dc428cdfb1a7ec14a8e5fd8d1 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 27 Jun 2008 09:12:57 +0200 Subject: 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) --- source4/libcli/nbt/pynbt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/libcli/nbt/pynbt.c b/source4/libcli/nbt/pynbt.c index 7978bfef90..e91096630a 100644 --- a/source4/libcli/nbt/pynbt.c +++ b/source4/libcli/nbt/pynbt.c @@ -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); -- cgit