git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pyregistry: Adjust to use of PY_SSIZE_T_CLEAN
[sfrench/samba-autobuild/.git]
/
source4
/
lib
/
registry
/
pyregistry.c
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);