summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2016-01-04 13:04:46 +1300
committerAndrew Bartlett <abartlet@samba.org>2016-01-07 23:33:10 +0100
commit0064f1d3a63ebb3f819f680a5e209d011ec43cc4 (patch)
treea9c4ede077efce210e3da5c74549ea0e3db5a4cd /source3
parent638c611796f6bb692e9a4500644d8875adc5c3c8 (diff)
downloadsamba-0064f1d3a63ebb3f819f680a5e209d011ec43cc4.tar.gz
pylibsmb: 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>
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/pylibsmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/pylibsmb.c b/source3/libsmb/pylibsmb.c
index 2d6853ae6e1..0c5d7e94841 100644
--- a/source3/libsmb/pylibsmb.c
+++ b/source3/libsmb/pylibsmb.c
@@ -650,7 +650,7 @@ static PyObject *py_cli_write(struct py_cli_state *self, PyObject *args,
int fnum;
unsigned mode = 0;
char *buf;
- int buflen;
+ Py_ssize_t buflen;
unsigned long long offset;
struct tevent_req *req;
NTSTATUS status;