Wireshark-bugs: [Wireshark-bugs] [Bug 9267] Enhancement of the packet-mq dissector (WMQ 7.1-7.5)

Date: Sun, 20 Oct 2013 15:44:21 +0000

changed bug 9267

What Removed Added
Attachment #11827 Flags   review_for_checkin?

Comment # 14 on bug 9267 from
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.