summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-16 22:46:33 -0800
committerTim Prouty <tprouty@samba.org>2008-12-16 23:24:13 -0800
commit735b3e1c0c04e2f57fa9468bce9f38534bd3d581 (patch)
treed3a00d3c3d342c1f618fbc4722e8b6cbf79a43bc /librpc
parentfc7e41d6ff838be7780161265a0b486b6937139b (diff)
downloadsamba-735b3e1c0c04e2f57fa9468bce9f38534bd3d581.tar.gz
samba-735b3e1c0c04e2f57fa9468bce9f38534bd3d581.tar.bz2
samba-735b3e1c0c04e2f57fa9468bce9f38534bd3d581.zip
s3/s4: Fix DCOM idl bug
A build warning uncovered a bug where a pointer was being passed in instead of the dereferenced value of the pointer.
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dcom.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/dcom.idl b/librpc/idl/dcom.idl
index 18d0d61c41..30d6d432b4 100644
--- a/librpc/idl/dcom.idl
+++ b/librpc/idl/dcom.idl
@@ -276,7 +276,7 @@ interface IRemUnknown2 : IRemUnknown
interface IStream : IUnknown
{
WERROR Read(
- [out, size_is(num_requested), length_is(num_read)] uint8 pv[],
+ [out, size_is(num_requested), length_is(*num_read)] uint8 pv[],
[in] uint32 num_requested,
[in, unique] uint32 *num_readx,
[out] uint32 *num_read