summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/ndr_misc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-17 09:59:50 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-17 21:52:26 -0700
commitc2523d2e2bb84c38741ea88c0c67ff692fd82b1c (patch)
tree7892997b497d619797e3fa90188fae5f1a7e7237 /librpc/gen_ndr/ndr_misc.c
parentaeb22cae07272212097e7cefcca0a60f06599dab (diff)
downloadsamba-c2523d2e2bb84c38741ea88c0c67ff692fd82b1c.tar.gz
samba-c2523d2e2bb84c38741ea88c0c67ff692fd82b1c.tar.bz2
samba-c2523d2e2bb84c38741ea88c0c67ff692fd82b1c.zip
idl: recompile our IDL
The NDR64 change affects every IDL file
Diffstat (limited to 'librpc/gen_ndr/ndr_misc.c')
-rw-r--r--librpc/gen_ndr/ndr_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/gen_ndr/ndr_misc.c b/librpc/gen_ndr/ndr_misc.c
index 28c8560819..fbef5094a5 100644
--- a/librpc/gen_ndr/ndr_misc.c
+++ b/librpc/gen_ndr/ndr_misc.c
@@ -106,14 +106,14 @@ _PUBLIC_ void ndr_print_policy_handle(struct ndr_print *ndr, const char *name, c
_PUBLIC_ enum ndr_err_code ndr_push_netr_SchannelType(struct ndr_push *ndr, int ndr_flags, enum netr_SchannelType r)
{
- NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r));
+ NDR_CHECK(ndr_push_enum_uint16(ndr, NDR_SCALARS, r));
return NDR_ERR_SUCCESS;
}
_PUBLIC_ enum ndr_err_code ndr_pull_netr_SchannelType(struct ndr_pull *ndr, int ndr_flags, enum netr_SchannelType *r)
{
uint16_t v;
- NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &v));
+ NDR_CHECK(ndr_pull_enum_uint16(ndr, NDR_SCALARS, &v));
*r = v;
return NDR_ERR_SUCCESS;
}