summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-02-07 00:45:19 -0800
committerTim Prouty <tprouty@samba.org>2009-02-07 00:47:32 -0800
commit6a6eb90803dc47140fda1984e148a98f4bb898da (patch)
treef3798bd4eaf1725ce3db557b51aa01ed05bc1717
parent7168cf440ecacb3c49c1026320347632b629668d (diff)
downloadsamba-6a6eb90803dc47140fda1984e148a98f4bb898da.tar.gz
samba-6a6eb90803dc47140fda1984e148a98f4bb898da.tar.bz2
samba-6a6eb90803dc47140fda1984e148a98f4bb898da.zip
librpc: Re-run make idl_full from source3
-rw-r--r--librpc/gen_ndr/cli_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/gen_ndr/cli_spoolss.c b/librpc/gen_ndr/cli_spoolss.c
index d8dc5a91c3..0255d00b0f 100644
--- a/librpc/gen_ndr/cli_spoolss.c
+++ b/librpc/gen_ndr/cli_spoolss.c
@@ -3397,7 +3397,7 @@ NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli,
}
/* Return variables */
- memcpy(value_name, r.out.value_name, r.in.value_offered / 2 * sizeof(*value_name));
+ memcpy(CONST_DISCARD(char *, value_name), r.out.value_name, r.in.value_offered / 2 * sizeof(*value_name));
*value_needed = *r.out.value_needed;
*printerdata_type = *r.out.printerdata_type;
*buffer = *r.out.buffer;