[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-128-ga7ee17a

Michael Adam obnox at samba.org
Fri Jun 27 07:57:21 GMT 2008


The branch, v4-0-test has been updated
       via  a7ee17a10f330297dc4d9d15499276b3985c7a51 (commit)
      from  5ff4ffd162339583c7f6ebee0c8a2efc30d8b65f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit a7ee17a10f330297dc4d9d15499276b3985c7a51
Author: Michael Adam <obnox at samba.org>
Date:   Fri Jun 27 09:12:57 2008 +0200

    pynbt: eliminate "initialization from incompatible pointer type" warning
    
    by fixing the signature of py_nbt_node_init().
    
    Jelmer - please check!
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/libcli/nbt/pynbt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libcli/nbt/pynbt.c b/source/libcli/nbt/pynbt.c
index 7978bfe..e910966 100644
--- 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(PyTypeObject *self, PyObject *args, PyObject *kwargs)
 {
 	struct event_context *ev;
 	nbt_node_Object *ret = PyObject_New(nbt_node_Object, &nbt_node_Type);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list