diff options
author | Michael Adam <obnox@samba.org> | 2008-06-27 09:12:57 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-06-27 09:56:26 +0200 |
commit | 4cd722b912b6ef0dc428cdfb1a7ec14a8e5fd8d1 (patch) | |
tree | 36a1a4dff02454c900d4f6ab18d3c4822bd1a0bb /source4/libcli | |
parent | be46118091f5dc1470f8e38e56506d966043b7b3 (diff) | |
download | samba-4cd722b912b6ef0dc428cdfb1a7ec14a8e5fd8d1.tar.gz samba-4cd722b912b6ef0dc428cdfb1a7ec14a8e5fd8d1.tar.bz2 samba-4cd722b912b6ef0dc428cdfb1a7ec14a8e5fd8d1.zip |
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)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/nbt/pynbt.c | 2 |
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); |