1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/rpcclient
Noel Power 5733f678c8 s3/rpcclient: Fix bad (and illegal) func cast
../../source3/rpcclient/cmd_samr.c: In function ‘cmd_samr_get_usrdom_pwinfo’:
../../librpc/ndr/libndr.h:219:76: error: cast between incompatible function types from ‘void (*)(struct ndr_print *, const char *, uint32_t)’ {aka ‘void (*)(struct ndr_print *, const char *, unsigned int)’} to ‘void (*)(struct ndr_print *, const char *, const void *)’ [-Werror=cast-function-type]
 #define NDR_PRINT_STRUCT_STRING(ctx, type, p) ndr_print_struct_string(ctx, (ndr_print_fn_t)ndr_print_ ##type, #p, p)
                                                                            ^
../../source3/rpcclient/cmd_samr.c:2646:4: note: in expansion of macro ‘NDR_PRINT_STRUCT_STRING’
    NDR_PRINT_STRUCT_STRING(mem_ctx,

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri May 10 02:26:02 UTC 2019 on sn-devel-184
2019-05-10 02:26:02 +00:00
..
cmd_clusapi.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_clusapi 2019-01-28 10:29:19 +01:00
cmd_dfs.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_dfs 2019-01-28 10:29:17 +01:00
cmd_drsuapi.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_drsuapi 2019-01-28 10:29:18 +01:00
cmd_dssetup.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_dssetup 2019-01-28 10:29:18 +01:00
cmd_echo.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_echo 2019-01-28 10:29:18 +01:00
cmd_epmapper.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_epmapper 2019-01-28 10:29:20 +01:00
cmd_eventlog.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_eventlog 2019-01-28 10:29:19 +01:00
cmd_fss.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_fss 2019-01-28 10:29:18 +01:00
cmd_iremotewinspool.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_iremotewinspool 2019-01-28 10:29:18 +01:00
cmd_lsarpc.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_lsarpc 2019-01-28 10:29:19 +01:00
cmd_netlogon.c winbind: Generate and pass logon ID 2019-02-20 06:03:09 +01:00
cmd_ntsvcs.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_ntsvcvs 2019-01-28 10:29:19 +01:00
cmd_samr.c s3/rpcclient: Fix bad (and illegal) func cast 2019-05-10 02:26:02 +00:00
cmd_shutdown.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_shutdown 2019-01-28 10:29:20 +01:00
cmd_spoolss.c rpcclient: Use wrapper for string to integer conversion 2019-03-01 00:32:10 +00:00
cmd_srvsvc.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_srvsvc 2019-01-28 10:29:17 +01:00
cmd_test.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_test 2019-01-28 10:29:19 +01:00
cmd_winreg.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_winreg 2019-01-28 10:29:18 +01:00
cmd_witness.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_witness 2019-01-28 10:29:19 +01:00
cmd_wkssvc.c s3:rpcclient: Use C99 initializer for cmd_set in cmd_wkssvc 2019-01-28 10:29:18 +01:00
rpcclient.c s3:rpcclient: Use C99 initializer for cmd_set in rpcclient 2019-01-28 10:29:19 +01:00
rpcclient.h s3:rpcclient: only require netlogon_creds for specified netlogon calls 2015-03-30 13:41:25 +02:00
wscript_build s3:lib: Move popt_common_credentials to separate file 2018-09-07 17:26:14 +02:00