robionekenobi
changed
bug 9267
What |
Removed |
Added |
Attachment #11827 Flags |
|
review_for_checkin?
|
Comment # 14
on bug 9267
from robionekenobi
Created attachment 11827 [details]
Correct patch
changed
static gint *pf_flds
by
static const int *pf_flds
is it better ?
i took the source from packet-cnip.c
static const gint *pf_fields[] = {
&hf_cnip_pf_sec,
&hf_cnip_pf_pcode,
NULL
};
proto_tree_add_bitmask(cnip_tree, tvb, offset,
hf_cnip_pf, ett_pf, pf_fields, ENC_BIG_ENDIAN);
and there you don't have the waring ?
You are receiving this mail because:
- You are watching all bug changes.