diff options
author | Günther Deschner <gd@samba.org> | 2008-02-15 23:32:02 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-15 23:32:02 +0100 |
commit | bc69f754001f6c999b1f914bde97648abe8f488d (patch) | |
tree | 9da699797db1868e6d9ee6d389e63d9d17be871e /source3/librpc/gen_ndr/ndr_winreg.c | |
parent | ab09585d82f675d47d14ca3d6ff16e70d6203f5f (diff) | |
download | samba-bc69f754001f6c999b1f914bde97648abe8f488d.tar.gz samba-bc69f754001f6c999b1f914bde97648abe8f488d.tar.bz2 samba-bc69f754001f6c999b1f914bde97648abe8f488d.zip |
Re-run make idl.
Guenther
(This used to be commit b7818ec598fc942ba9c86dac0d47e239a6953301)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_winreg.c')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/ndr_winreg.c b/source3/librpc/gen_ndr/ndr_winreg.c index b63d410587..ed511a62db 100644 --- a/source3/librpc/gen_ndr/ndr_winreg.c +++ b/source3/librpc/gen_ndr/ndr_winreg.c @@ -3700,7 +3700,7 @@ static enum ndr_err_code ndr_pull_winreg_QueryMultipleValues(struct ndr_pull *nd NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->in.buffer_size)); NDR_PULL_SET_MEM_CTX(ndr, _mem_save_buffer_size_0, LIBNDR_FLAG_REF_ALLOC); NDR_PULL_ALLOC_N(ndr, r->out.values, r->in.num_values); - memcpy(r->out.values, r->in.values, r->in.num_values * sizeof(*r->in.values)); + memcpy(r->out.values, r->in.values, (r->in.num_values) * sizeof(*r->in.values)); NDR_PULL_ALLOC(ndr, r->out.buffer_size); *r->out.buffer_size = *r->in.buffer_size; if (r->in.values) { |