1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

level should be a uint32 in enum_ports function.

(This used to be commit 121db5b682)
This commit is contained in:
Tim Potter 2002-10-21 04:17:43 +00:00
parent 69e2a9d7fa
commit 354878f76f

View File

@ -26,7 +26,7 @@ PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw)
{
WERROR werror;
PyObject *result = NULL, *creds = NULL;
int level = 1;
uint32 level = 1;
uint32 i, needed, num_ports;
static char *kwlist[] = {"server", "level", "creds", NULL};
TALLOC_CTX *mem_ctx = NULL;