I see that the bitmask field in the header_field
used in proto_register_field_array(const int parent, hf_register_info *hf, const int num_records);
is a guint32
, therefor I cannot use a 64 bit mask. Is there anyway I can go around?
Specifically, I have a 60 bit field so I am trying to create a field with type FT_UINT64
and bitmask 0xfffffffffffffff
for that matter, but of course, when compiling the C code i get:
warning: implicit conversion from 'long' to 'guint32' (aka 'unsigned int') changes value from 1152921504606846975 to 4294967295 [-Wconstant-conversion]
NULL, 0xfffffffffffffff,
Thank you in advance for a response.