Skip to content

Commit

Permalink
pyregistry: Adjust to use of PY_SSIZE_T_CLEAN
Browse files Browse the repository at this point in the history
This changes the type used for # arguments to PyArg_ParseTuple

Signed-off-by: Andrew Bartlett <[email protected]>
Reviewed-by: Jelmer Vernooij <[email protected]>
  • Loading branch information
abartlet committed Jan 7, 2016
1 parent 6a6aec7 commit 5c7822a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source4/lib/registry/pyregistry.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static PyObject *py_hive_key_set_value(PyObject *self, PyObject *args)
char *name;
uint32_t type;
DATA_BLOB value;
int value_length = 0;
Py_ssize_t value_length = 0;
WERROR result;
struct hive_key *key = PyHiveKey_AsHiveKey(self);

Expand Down

0 comments on commit 5c7822a

Please sign in to comment.