summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/nbt/pynbt.c2
1 files changed, 1 insertions, 1 deletions
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);