diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/py_passdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/py_passdb.c b/source3/passdb/py_passdb.c index 39ecf86094..46f2e90f3d 100644 --- a/source3/passdb/py_passdb.c +++ b/source3/passdb/py_passdb.c @@ -975,7 +975,7 @@ static PyObject *py_groupmap_get_gid(PyObject *obj, void *closure) GROUP_MAP *group_map = (GROUP_MAP *)pytalloc_get_ptr(obj); PyObject *py_gid; - py_gid = PyInt_FromLong(group_map->gid); + py_gid = Py_BuildValue("i", group_map->gid); return py_gid; } |