summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-01-16 00:04:41 +0100
committerDavid Disseldorp <ddiss@samba.org>2013-01-17 17:11:37 +0100
commite8feca012e7b2ff29de58cef80c7511f33989a84 (patch)
tree7c61dc531c45c4325351a65a447aa3b1c0d37945 /source3/rpc_client
parente1d50a6b24012b42f9987b439a4b94cd8db79999 (diff)
downloadsamba-e8feca012e7b2ff29de58cef80c7511f33989a84.tar.gz
samba-e8feca012e7b2ff29de58cef80c7511f33989a84.tar.bz2
samba-e8feca012e7b2ff29de58cef80c7511f33989a84.zip
spoolss: make spoolss deal with ndr64 ULONG_PTR of devmode_ptr and secdesc_ptr.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/init_spoolss.c b/source3/rpc_client/init_spoolss.c
index 8b66227ce7..7e29cdc7ca 100644
--- a/source3/rpc_client/init_spoolss.c
+++ b/source3/rpc_client/init_spoolss.c
@@ -107,12 +107,12 @@ void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *
s->drivername = i->drivername;
s->comment = i->comment;
s->location = i->location;
- s->devmode_ptr = 0;
+ s->devmode_ptr = NULL;
s->sepfile = i->sepfile;
s->printprocessor = i->printprocessor;
s->datatype = i->datatype;
s->parameters = i->parameters;
- s->secdesc_ptr = 0;
+ s->secdesc_ptr = NULL;
s->attributes = i->attributes;
s->priority = i->priority;
s->defaultpriority = i->defaultpriority;