git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c7822a
)
pyrpc: Adjust to use of PY_SSIZE_T_CLEAN
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 4 Jan 2016 00:07:08 +0000
(13:07 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 7 Jan 2016 22:33:10 +0000
(23:33 +0100)
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>
source4/librpc/rpc/pyrpc.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/pyrpc.c
b/source4/librpc/rpc/pyrpc.c
index 243e96b93efede36966527e5fac578edc59442cb..f1bfc88787112fbaa3f0e88e8f20747676028239 100644
(file)
--- 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;
-
in
t in_length;
+
Py_ssize_
t in_length;
PyObject *ret;
PyObject *object = NULL;
struct GUID object_guid;