But when i'm passing a pointer value, what i get inside filter plugin is int32 max value (2,147,483,647).
Same experiment with 32 bit acts as expected. Pointer stays within 32 bit, value received in plugin is a valid pointer.
Is there some 32 bit limitation built in the plugin for int param?
p.s. the code resolving the parameter value
Code: Select all
struct filter_sys_t
{
atomic_llong i_shareddata
};
atomic_init(&p_sys->i_shareddata, var_CreateGetIntegerCommand(p_filter, CFG_PREFIX "shareddata"));