summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-16 11:57:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:10 -0500
commit8b79106829034ff543406b68fd2ce6e84a28b5e4 (patch)
treedb3b7e0f98750d4287d162617c5a3ef3f8c771d6 /source3
parent4f1d0a2d8fb786f3ad823f02ab818598407a3353 (diff)
downloadsamba-8b79106829034ff543406b68fd2ce6e84a28b5e4.tar.gz
samba-8b79106829034ff543406b68fd2ce6e84a28b5e4.tar.bz2
samba-8b79106829034ff543406b68fd2ce6e84a28b5e4.zip
r22932: Use the same symbol in sizeof and cast for talloc.
(This used to be commit 550498e68db9305e31da38dbc9c642961418a8b0)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 63ea50a67b..6f9d52ddec 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -2170,7 +2170,7 @@ NTSTATUS rpc_printer_migrate_settings_internals(const DOM_SID *domain_sid,
if (ctr_enum.printers_2[i].devmode != NULL) {
/* copy devmode (info level 2) */
- ctr_dst.printers_2->devmode = (struct devicemode *)
+ ctr_dst.printers_2->devmode = (DEVICEMODE *)
TALLOC_MEMDUP(mem_ctx,
ctr_enum.printers_2[i].devmode,
sizeof(DEVICEMODE));