summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-01 06:33:25 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-01 06:33:25 +0100
commitce47b69d8e318bbb3642d27aa0451e2914c92be7 (patch)
treed35b3db84bc08d603a0a50d52762061afbebda17 /source4/librpc
parent08259c1c52a9921de6fba08939130698b474f382 (diff)
downloadsamba-ce47b69d8e318bbb3642d27aa0451e2914c92be7.tar.gz
samba-ce47b69d8e318bbb3642d27aa0451e2914c92be7.tar.bz2
samba-ce47b69d8e318bbb3642d27aa0451e2914c92be7.zip
Fix syntax errors.
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/winsrepl.idl2
-rw-r--r--source4/librpc/ndr/ndr_spoolss_buf.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/idl/winsrepl.idl b/source4/librpc/idl/winsrepl.idl
index 13432d86f6..0ec05e891c 100644
--- a/source4/librpc/idl/winsrepl.idl
+++ b/source4/librpc/idl/winsrepl.idl
@@ -164,7 +164,7 @@ interface wrepl
} wrepl_packet;
typedef [flag(NDR_BIG_ENDIAN|NDR_PAHEX),public] struct {
- [value(ndr_size_wrepl_packet(&packet, ndr->flags))] uint32 size;
+ [value(ndr_size_wrepl_packet(&packet, ndr->iconv_convenience, ndr->flags))] uint32 size;
wrepl_packet packet;
} wrepl_wrap;
diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c
index f42e3678b0..335275f680 100644
--- a/source4/librpc/ndr/ndr_spoolss_buf.c
+++ b/source4/librpc/ndr/ndr_spoolss_buf.c
@@ -525,8 +525,8 @@ enum ndr_err_code ndr_push_spoolss_SetPrinterData(struct ndr_push *ndr, int flag
return NDR_ERR_SUCCESS;
}
-uint32_t _ndr_size_spoolss_DeviceMode(struct spoolss_DeviceMode *devmode, uint32_t flags)
+uint32_t _ndr_size_spoolss_DeviceMode(struct spoolss_DeviceMode *devmode, struct smb_iconv_convenience *ic, uint32_t flags)
{
if (!devmode) return 0;
- return ndr_size_spoolss_DeviceMode(devmode,flags);
+ return ndr_size_spoolss_DeviceMode(devmode,ic,flags);
}