diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-08-19 17:26:33 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-08-25 07:39:37 +1000 |
commit | 4655a5bf7c875c9cd2e4c70362e0ecac8b8a0152 (patch) | |
tree | 53cd76a3c38cb500af2a673c87a252c170e9905d | |
parent | fac75f04a8577fd0eb5a3fff9914e4abffa91a1e (diff) | |
download | samba-4655a5bf7c875c9cd2e4c70362e0ecac8b8a0152.tar.gz samba-4655a5bf7c875c9cd2e4c70362e0ecac8b8a0152.tar.bz2 samba-4655a5bf7c875c9cd2e4c70362e0ecac8b8a0152.zip |
pyldb: fixed a warning
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | lib/ldb/pyldb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c index 72680c1710..d456acbe4d 100644 --- a/lib/ldb/pyldb.c +++ b/lib/ldb/pyldb.c @@ -2290,8 +2290,8 @@ static int py_ldb_msg_element_cmp(PyLdbMessageElementObject *self, PyLdbMessageE static PyObject *py_ldb_msg_element_iter(PyLdbMessageElementObject *self) { - struct ldb_message_element *el = ldb_msg_element_to_set(NULL, - pyldb_MessageElement_AsMessageElement(self)); + PyObject *el = ldb_msg_element_to_set(NULL, + pyldb_MessageElement_AsMessageElement(self)); return PyObject_GetIter(el); } |