diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:15:24 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-17 21:52:27 -0700 |
commit | 3ec638c770d58d0fcb94f1873d7b227d528fa1c7 (patch) | |
tree | 4f5ebbdfc9aa386ec15e8ddec3ca43018534a917 | |
parent | ae91cff2597caba2f8f033f69c8bf6a3706da409 (diff) | |
download | samba-3ec638c770d58d0fcb94f1873d7b227d528fa1c7.tar.gz samba-3ec638c770d58d0fcb94f1873d7b227d528fa1c7.tar.bz2 samba-3ec638c770d58d0fcb94f1873d7b227d528fa1c7.zip |
ndr: num_auths is an array size, thus a uint3264
-rw-r--r-- | librpc/ndr/ndr_sec_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/ndr/ndr_sec_helper.c b/librpc/ndr/ndr_sec_helper.c index 62194707c2..abc805c8ef 100644 --- a/librpc/ndr/ndr_sec_helper.c +++ b/librpc/ndr/ndr_sec_helper.c @@ -181,7 +181,7 @@ enum ndr_err_code ndr_pull_dom_sid2(struct ndr_pull *ndr, int ndr_flags, struct if (!(ndr_flags & NDR_SCALARS)) { return NDR_ERR_SUCCESS; } - NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &num_auths)); + NDR_CHECK(ndr_pull_uint3264(ndr, NDR_SCALARS, &num_auths)); NDR_CHECK(ndr_pull_dom_sid(ndr, ndr_flags, sid)); if (sid->num_auths != num_auths) { return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, @@ -199,7 +199,7 @@ enum ndr_err_code ndr_push_dom_sid2(struct ndr_push *ndr, int ndr_flags, const s if (!(ndr_flags & NDR_SCALARS)) { return NDR_ERR_SUCCESS; } - NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, sid->num_auths)); + NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, sid->num_auths)); return ndr_push_dom_sid(ndr, ndr_flags, sid); } |