summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-12 20:27:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:20 -0500
commita817cc16b246d4f0cfd335884eec7380966c77a8 (patch)
tree9fd5d1988e93a2e81e53145302139a7c0df34b1d /source3/python
parentefeeb4874011ad21422abc7e9c718df6456c513b (diff)
downloadsamba-a817cc16b246d4f0cfd335884eec7380966c77a8.tar.gz
samba-a817cc16b246d4f0cfd335884eec7380966c77a8.tar.bz2
samba-a817cc16b246d4f0cfd335884eec7380966c77a8.zip
r1789: compiler warnings from SuSE
(This used to be commit 7e44193be103fad273796218c8f5e5f9a1657c3c)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_spoolss_drivers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_drivers.c b/source3/python/py_spoolss_drivers.c
index 12190519ec..9424fe1527 100644
--- a/source3/python/py_spoolss_drivers.c
+++ b/source3/python/py_spoolss_drivers.c
@@ -190,12 +190,12 @@ PyObject *spoolss_hnd_getprinterdriver(PyObject *self, PyObject *args,
werror = cli_spoolss_getprinterdriver(
hnd->cli, hnd->mem_ctx, 0, &needed, &hnd->pol, level,
- version, arch, &ctr);
+ arch, version, &ctr);
if (W_ERROR_V(werror) == ERRinsufficientbuffer)
werror = cli_spoolss_getprinterdriver(
hnd->cli, hnd->mem_ctx, needed, NULL, &hnd->pol,
- level, version, arch, &ctr);
+ level, arch, version, &ctr);
if (!W_ERROR_IS_OK(werror)) {
PyErr_SetObject(spoolss_werror, py_werror_tuple(werror));