diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-01-04 13:07:08 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-01-07 23:33:10 +0100 |
commit | 516ec3005a18770bceb25aa6e49799fe407ceff5 (patch) | |
tree | d28862159b6902b15eb883ca2f35f8558b30cfc8 | |
parent | 5c7822a1e4e89a9f175c55b6e9913779452136c2 (diff) | |
download | samba-516ec3005a18770bceb25aa6e49799fe407ceff5.tar.gz |
pyrpc: Adjust to use of PY_SSIZE_T_CLEAN
This changes the type used for # arguments to PyArg_ParseTupleAndKeywords
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
-rw-r--r-- | source4/librpc/rpc/pyrpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index 243e96b93ef..f1bfc887871 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -200,7 +200,7 @@ static PyObject *py_iface_request(PyObject *self, PyObject *args, PyObject *kwar DATA_BLOB data_in, data_out; NTSTATUS status; char *in_data; - int in_length; + Py_ssize_t in_length; PyObject *ret; PyObject *object = NULL; struct GUID object_guid; |