s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
authorGünther Deschner <gd@samba.org>
Thu, 3 Jun 2010 14:30:55 +0000 (16:30 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Sep 2010 19:29:02 +0000 (21:29 +0200)
commit48cbe7a7b024c82c6cc0bcc4621b0867d08083b1
tree4307f2596e66762b629e6c08ed1d189c6c3cdd38
parentf7718e0293b3daff1ebae687fa194f49e6aca133
s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().

This fixes some invalid typecasts.

Guenther

The last 3 patches address bug #7658 (fix some "dereferencing type-punned
pointer will break strict-aliasing rules" warnings).
(cherry picked from commit 1a4a8e9bfb146276174a3723e3f20897e0443542)
source3/include/proto.h
source3/rpc_client/init_spoolss.c
source3/rpcclient/cmd_spoolss.c
source3/utils/net_rpc_printer.c