summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2019-02-07 17:36:02 +1300
committerNoel Power <npower@samba.org>2019-02-08 17:09:51 +0100
commit8a8286842d8770df322c4493632496341d707f0c (patch)
tree009946e4a390573b606fb3205bd20a5649dead87 /source4
parent7b9d4580e9cfdd30d4348d6dd6e7333e9b62553f (diff)
downloadsamba-8a8286842d8770df322c4493632496341d707f0c.tar.gz
s4/registry/py: use unsigned ParseTuple format for unsigned value
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org> Autobuild-User(master): Noel Power <npower@samba.org> Autobuild-Date(master): Fri Feb 8 17:09:51 CET 2019 on sn-devel-144
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/pyregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c
index 5d7f7f212b8..78b47b8286d 100644
--- a/source4/lib/registry/pyregistry.c
+++ b/source4/lib/registry/pyregistry.c
@@ -214,7 +214,7 @@ static PyObject *py_hive_key_set_value(PyObject *self, PyObject *args)
WERROR result;
struct hive_key *key = PyHiveKey_AsHiveKey(self);
- if (!PyArg_ParseTuple(args, "siz#", &name, &type, &value.data, &value_length)) {
+ if (!PyArg_ParseTuple(args, "sIz#", &name, &type, &value.data, &value_length)) {
return NULL;
}
value.length = value_length;