s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
commit1a4a8e9bfb146276174a3723e3f20897e0443542
authorGünther Deschner <gd@samba.org>
Thu, 3 Jun 2010 14:30:55 +0000 (3 16:30 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 6 Sep 2010 18:50:22 +0000 (6 20:50 +0200)
treef0bd16e5c9771b686ee2260e2b3f6952211511b0
parent589bb48af5708501ab47335c84a59f0923ccb20b
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).
source3/include/proto.h
source3/rpc_client/init_spoolss.c
source3/rpcclient/cmd_spoolss.c
source3/utils/net_rpc_printer.c