Wireshark-bugs: [Wireshark-bugs] [Bug 1675] New: bad cast fals Build on trunk (r22223 of wiresha
Date: Mon, 9 Jul 2007 03:08:55 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1675

           Summary: bad cast fals Build on trunk (r22223 of
                    wireshark/epan/dissectors/packet-pe r.c)
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: High
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jgsack@xxxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Build fails on trunk (r22223 of wireshark/epan/dissectors/packet-pe r.c)
 (Building on an x86_64 FC5)

cc1: warnings being treated as errors
packet-per.c: In function 'dissect_per_octet_string':
packet-per.c:1848: warning: cast from pointer to integer of different size

  actx->created_item = proto_tree_add_ipv4(tree, hf_index, tvb, val_start,
val_length, (guint32)pbytes);

I guess it is the cast in the last arg of the call.

I notice this part of the code was changed since 0.99.6 (r22249)

And BTW, hearty applause! for treating warnings as errors

Regards,
..jim


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.