summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_ports.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-10-21 04:21:05 +0000
committerTim Potter <tpot@samba.org>2002-10-21 04:21:05 +0000
commitd4410a57583d1ee4559dc72e0845f9631e5c3f9b (patch)
tree81ba9381490a2e53f3e32426de0d83b6f7a1621d /source3/python/py_spoolss_ports.c
parent346c9845a8892c336ae39e5efe7a8ef7e2a2afd1 (diff)
downloadsamba-d4410a57583d1ee4559dc72e0845f9631e5c3f9b.tar.gz
samba-d4410a57583d1ee4559dc72e0845f9631e5c3f9b.tar.bz2
samba-d4410a57583d1ee4559dc72e0845f9631e5c3f9b.zip
Merge of validiation cleanups from head.
(This used to be commit 174c8ca814cbb63425207d51f21cf5f80932f743)
Diffstat (limited to 'source3/python/py_spoolss_ports.c')
-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 b5f2102e5e..fe6d7536d3 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;