From 0c29804bb03c5b612278a115bbc2cd9ea830ade7 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 20 Jun 2012 17:29:55 +1000 Subject: s4-pysmb: Parse security info as an unsigned integer --- source4/libcli/pysmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli') diff --git a/source4/libcli/pysmb.c b/source4/libcli/pysmb.c index 3f2efe9c87..14b05f7994 100644 --- a/source4/libcli/pysmb.c +++ b/source4/libcli/pysmb.c @@ -365,7 +365,7 @@ static PyObject *py_smb_setacl(pytalloc_Object *self, PyObject *args, PyObject * uint32_t sinfo = 0; int fnum; - if (!PyArg_ParseTuple(args, "sO|i:get_acl", &filename, &py_sd, &sinfo)) { + if (!PyArg_ParseTuple(args, "sO|I:get_acl", &filename, &py_sd, &sinfo)) { return NULL; } -- cgit