git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ff4ffd
)
pynbt: eliminate "initialization from incompatible pointer type" warning
author
Michael Adam
<obnox@samba.org>
Fri, 27 Jun 2008 07:12:57 +0000
(09:12 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 27 Jun 2008 07:56:26 +0000
(09:56 +0200)
by fixing the signature of py_nbt_node_init().
Jelmer - please check!
Michael
source/libcli/nbt/pynbt.c
patch
|
blob
|
history
diff --git
a/source/libcli/nbt/pynbt.c
b/source/libcli/nbt/pynbt.c
index 7978bfef904711a0a9a9edfada3b1a1f1d1225a6..e91096630a2f5e3ddbe7fe98f545c5bfaac1cdcd 100644
(file)
--- a/
source/libcli/nbt/pynbt.c
+++ b/
source/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(Py
Type
Object *self, PyObject *args, PyObject *kwargs)
{
struct event_context *ev;
nbt_node_Object *ret = PyObject_New(nbt_node_Object, &nbt_node_Type);