summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-06 16:28:33 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-08 10:39:05 +0000
commitaf84b6d32514525a52e0b6529b36a53943fb7a7a (patch)
treefbe7800ff0133c9778890bd7a3e6b89d080ae44f /source4/dsdb
parent9f2d21561b85edde541d7dbc69ee1fe58c029f81 (diff)
downloadsamba-af84b6d32514525a52e0b6529b36a53943fb7a7a.tar.gz
samba-af84b6d32514525a52e0b6529b36a53943fb7a7a.tar.bz2
samba-af84b6d32514525a52e0b6529b36a53943fb7a7a.zip
s4:pydsdb.c - use "Py_ssize_t" for Python list counters
Seems to be the most appropriate type
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/pydsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index a512dc0eff..2471548bab 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -330,7 +330,7 @@ static PyObject *py_dsdb_DsReplicaAttribute(PyObject *self, PyObject *args)
struct drsuapi_DsReplicaAttribute *attr;
TALLOC_CTX *tmp_ctx;
WERROR werr;
- int i;
+ Py_ssize_t i;
if (!PyArg_ParseTuple(args, "OsO", &py_ldb, &ldap_display_name, &el_list)) {
return NULL;