mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s4:pydsdb.c - use "Py_ssize_t" for Python list counters
Seems to be the most appropriate type
This commit is contained in:
parent
9f2d21561b
commit
af84b6d325
@ -330,7 +330,7 @@ static PyObject *py_dsdb_DsReplicaAttribute(PyObject *self, PyObject *args)
|
|||||||
struct drsuapi_DsReplicaAttribute *attr;
|
struct drsuapi_DsReplicaAttribute *attr;
|
||||||
TALLOC_CTX *tmp_ctx;
|
TALLOC_CTX *tmp_ctx;
|
||||||
WERROR werr;
|
WERROR werr;
|
||||||
int i;
|
Py_ssize_t i;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "OsO", &py_ldb, &ldap_display_name, &el_list)) {
|
if (!PyArg_ParseTuple(args, "OsO", &py_ldb, &ldap_display_name, &el_list)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user