hi support
in Mesh Provisioner
typedef void (*flash_op_func_t) (void);
static void flash_manager_mem_available(void * p_args)
{
((flash_op_func_t) p_args)(); /*lint !e611 Suspicious cast */
}
What is Suspicious cast Means in this Context ??????
hi support
in Mesh Provisioner
typedef void (*flash_op_func_t) (void);
static void flash_manager_mem_available(void * p_args)
{
((flash_op_func_t) p_args)(); /*lint !e611 Suspicious cast */
}
What is Suspicious cast Means in this Context ??????
Hi,
This is a warning that PC-Lint registers, and the developers have then overridden this by adding a PC-lint specific syntax to do so.
You are taking a void pointer and casting it into a function pointer, and lint just wants to make sure that this is what you intend to do.
Cheers,
Håkon
ok Right Got it