suppress warnings with discard_align_p
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
r.in.pszServer = talloc_asprintf(tctx, "\\\\%s", dcerpc_server_name(p));
r.in.pszEnvironment = architecture;
r.in.cchCoreDrivers = blob.length/2;
- r.in.pszzCoreDriverDependencies = (uint16_t *)blob.data;
+ r.in.pszzCoreDriverDependencies = discard_align_p(uint16_t, blob.data);
r.in.cCorePrinterDrivers = 1;
r.out.pCorePrinterDrivers = talloc_zero_array(tctx, struct spoolss_CorePrinterDriver, r.in.cCorePrinterDrivers);