git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6aec7
)
pyregistry: Adjust to use of PY_SSIZE_T_CLEAN
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 4 Jan 2016 00:06:31 +0000
(13:06 +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_ParseTuple
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/registry/pyregistry.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/pyregistry.c
b/source4/lib/registry/pyregistry.c
index 8f967109cc4b4bfb862ccfd2353015d066929d41..7b7fdf34f73bb5ec80532dba099f2ac254ed6ad3 100644
(file)
--- a/
source4/lib/registry/pyregistry.c
+++ b/
source4/lib/registry/pyregistry.c
@@
-212,7
+212,7
@@
static PyObject *py_hive_key_set_value(PyObject *self, PyObject *args)
char *name;
uint32_t type;
DATA_BLOB value;
-
in
t value_length = 0;
+
Py_ssize_
t value_length = 0;
WERROR result;
struct hive_key *key = PyHiveKey_AsHiveKey(self);