diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-01 19:59:56 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-02 09:39:18 +0200 |
commit | 6ad27cd7fe3e5f014821953c67ab93dbfed38a60 (patch) | |
tree | ad5e0534f33caeabbadcffb78999864bdede33c9 | |
parent | e799de256e418f011a042f999904872fecae4011 (diff) | |
download | samba-6ad27cd7fe3e5f014821953c67ab93dbfed38a60.tar.gz samba-6ad27cd7fe3e5f014821953c67ab93dbfed38a60.tar.bz2 samba-6ad27cd7fe3e5f014821953c67ab93dbfed38a60.zip |
s4:lib/ldb/pyldb_util.c - add a cast to quiet a warning
Jelmer, please fix if it isn't correct.
-rw-r--r-- | source4/lib/ldb/pyldb_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/pyldb_util.c b/source4/lib/ldb/pyldb_util.c index fb06946161..41bcb55bd1 100644 --- a/source4/lib/ldb/pyldb_util.c +++ b/source4/lib/ldb/pyldb_util.c @@ -71,7 +71,7 @@ bool PyObject_AsDn(TALLOC_CTX *mem_ctx, PyObject *object, if (PyLdb_Dn_Type == NULL) return false; - if (PyObject_TypeCheck(object, PyLdb_Dn_Type)) { + if (PyObject_TypeCheck(object, (PyTypeObject *) PyLdb_Dn_Type)) { *dn = PyLdbDn_AsDn(object); return true; } |