diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-25 20:12:08 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:10 +0100 |
commit | e541cc54f41ff8ed88047b3533a5615beec0dbe7 (patch) | |
tree | 889e167d1542435779727656f9d9369d3ef9e9cd /source4/lib/ldb | |
parent | 119abbf6b2b76fbb13947ecd0bb87566665c1295 (diff) | |
download | samba-e541cc54f41ff8ed88047b3533a5615beec0dbe7.tar.gz samba-e541cc54f41ff8ed88047b3533a5615beec0dbe7.tar.bz2 samba-e541cc54f41ff8ed88047b3533a5615beec0dbe7.zip |
r26119: Fix warnings.
(This used to be commit 38a6522e44938ae05356916182d6c3bb1b6e881b)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/ldb.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb.i b/source4/lib/ldb/ldb.i index 3b7a949fb7..9dd8f7c8af 100644 --- a/source4/lib/ldb/ldb.i +++ b/source4/lib/ldb/ldb.i @@ -118,7 +118,7 @@ typedef int ldb_error; if ($1->dn == NULL) SWIG_exception(SWIG_TypeError, "no dn set"); } else { - if (SWIG_ConvertPtr($input, &$1, SWIGTYPE_p_ldb_message, 0) != 0) + if (SWIG_ConvertPtr($input, (void **)&$1, SWIGTYPE_p_ldb_message, 0) != 0) return NULL; } } @@ -225,7 +225,7 @@ fail: %inline { int ldb_dn_from_pyobject(PyObject *object, ldb_dn **dn) { - return SWIG_ConvertPtr(object, dn, SWIGTYPE_p_ldb_dn, 0); + return SWIG_ConvertPtr(object, (void **)dn, SWIGTYPE_p_ldb_dn, 0); } ldb_msg_element *ldb_msg_element_from_pyobject(PyObject *set_obj, int flags, |