summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-10-21 04:17:43 +0000
committerTim Potter <tpot@samba.org>2002-10-21 04:17:43 +0000
commit354878f76fb6689e26a62ef988564c099991edc0 (patch)
tree9f8c3bd903f09a0aa56e174a53d71d2f815bad30 /source3
parent69e2a9d7fa689012848b50b40b7b49eeec536d0a (diff)
downloadsamba-354878f76fb6689e26a62ef988564c099991edc0.tar.gz
samba-354878f76fb6689e26a62ef988564c099991edc0.tar.bz2
samba-354878f76fb6689e26a62ef988564c099991edc0.zip
level should be a uint32 in enum_ports function.
(This used to be commit 121db5b6821df9c6ec05adb2d35c2dde930736f2)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_spoolss_ports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_ports.c b/source3/python/py_spoolss_ports.c
index 75c8c4aa28..55716aca6e 100644
--- a/source3/python/py_spoolss_ports.c
+++ b/source3/python/py_spoolss_ports.c
@@ -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;