1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/registry
Noel Power 61dd7d6f06 s3/registry: Fix incompatible func casts
[3425/3524] Compiling source3/registry/reg_parse.c
../../source3/registry/reg_parse.c: In function ‘reg_parse_new’:
../../source3/registry/reg_parse.c:223:12: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char **, size_t,  _Bool)’ {aka ‘int (*)(void *, const char **, long unsigned int,  _Bool)’} [-Werror=cast-function-type]
   cb.key = (reg_parse_callback_key_t)&nop;
            ^
../../source3/registry/reg_parse.c:226:12: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char *, uint32_t,  const uint8_t *, uint32_t)’ {aka ‘int (*)(void *, const char *, unsigned int,  const unsigned char *, unsigned int)’} [-Werror=cast-function-type]
   cb.val = (reg_parse_callback_val_t)&nop;
            ^
../../source3/registry/reg_parse.c:229:16: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char *)’ [-Werror=cast-function-type]
   cb.val_del = (reg_parse_callback_val_del_t)&nop;
                ^
../../source3/registry/reg_parse.c:232:16: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char *)’ [-Werror=cast-function-type]
   cb.comment = (reg_parse_callback_comment_t)&nop;

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-05-10 01:15:18 +00:00
..
tests regfio tests: Update comment style to match README.Coding 2019-03-20 05:26:18 +00:00
reg_api_util.c werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/ 2016-09-28 00:04:22 +02:00
reg_api_util.h
reg_api.c Correct "perfom" typos. 2017-02-22 08:26:22 +01:00
reg_api.h
reg_backend_current_version.c
reg_backend_db.c registry: Don't use an uninitialized value 2018-10-08 22:17:10 +02:00
reg_backend_db.h
reg_backend_hkpt_params.c
reg_backend_netlogon_params.c
reg_backend_perflib.c
reg_backend_printing.c
reg_backend_prod_options.c
reg_backend_shares.c
reg_backend_smbconf.c
reg_backend_tcpip_params.c
reg_cachehook.c werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/ 2016-09-28 00:04:22 +02:00
reg_cachehook.h
reg_db.h
reg_dispatcher.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/ 2016-09-28 00:04:18 +02:00
reg_dispatcher.h
reg_format.c s3:registry: Fix size types and length calculations 2018-03-21 04:25:39 +01:00
reg_format.h
reg_import.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/ 2016-09-28 00:04:18 +02:00
reg_import.h
reg_init_basic.c
reg_init_basic.h
reg_init_full.c s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
reg_init_full.h
reg_init_smbconf.c
reg_init_smbconf.h
reg_objects.c registry: Fix a typo 2018-10-08 22:17:09 +02:00
reg_objects.h
reg_parse_dox.cfg
reg_parse_internal.c s3:registry: Use C99 initializer for BOM 2019-01-28 10:29:23 +01:00
reg_parse_internal.h
reg_parse_prs.c
reg_parse_prs.h
reg_parse.c s3/registry: Fix incompatible func casts 2019-05-10 01:15:18 +00:00
reg_parse.h s3/registry: Fix func cast error (diff in params size_t vs uint32) 2019-05-10 01:15:18 +00:00
reg_perfcount.c s3:registry: Avoid a double-free in reg_perfcount 2018-10-19 23:11:26 +02:00
reg_perfcount.h
reg_util_internal.c
reg_util_internal.h
reg_util_token.c
reg_util_token.h
regfio.c regfio: Update code near recent changes to match README.Coding 2019-03-20 05:26:18 +00:00
regfio.h