diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:15:24 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:19:30 -0700 |
commit | 7b157a3d8a7cfcb573134fe7ab30603cfa5d9d1b (patch) | |
tree | f20e211798f00e70fea89ac406595b4ef3e84a79 /librpc/ndr | |
parent | 1a1cb92583267dea07fa8b4580bf79c8907a7f88 (diff) | |
download | samba-7b157a3d8a7cfcb573134fe7ab30603cfa5d9d1b.tar.gz samba-7b157a3d8a7cfcb573134fe7ab30603cfa5d9d1b.tar.bz2 samba-7b157a3d8a7cfcb573134fe7ab30603cfa5d9d1b.zip |
ndr: num_auths is an array size, thus a uint3264
Diffstat (limited to 'librpc/ndr')
-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); } |