summaryrefslogtreecommitdiff
path: root/source4/param/provision.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-01-20 16:27:38 +1300
committerJelmer Vernooij <jelmer@samba.org>2010-01-21 16:15:11 +1300
commitf679def4f2c4d878c8fac49ea248cfadb665168c (patch)
tree95f46b925fdb5cb80b99aa650f845aa32e736430 /source4/param/provision.c
parent4b11e0c67cbd611b7f295256f0aa6c55a8b88699 (diff)
downloadsamba-f679def4f2c4d878c8fac49ea248cfadb665168c.tar.gz
samba-f679def4f2c4d878c8fac49ea248cfadb665168c.tar.bz2
samba-f679def4f2c4d878c8fac49ea248cfadb665168c.zip
s4: Fix a few warnings.
Diffstat (limited to 'source4/param/provision.c')
-rw-r--r--source4/param/provision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/provision.c b/source4/param/provision.c
index 7bd10ca522..920a5d8639 100644
--- a/source4/param/provision.c
+++ b/source4/param/provision.c
@@ -68,7 +68,7 @@ static PyObject *PyLdb_FromLdbContext(struct ldb_context *ldb_ctx)
if (ldb_mod == NULL)
return NULL;
- ldb_ctx_type = PyObject_GetAttrString(ldb_mod, "Ldb");
+ ldb_ctx_type = (PyTypeObject *)PyObject_GetAttrString(ldb_mod, "Ldb");
ret = (PyLdbObject *)ldb_ctx_type->tp_alloc(ldb_ctx_type, 0);
if (ret == NULL) {