Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 1675] New: bad cast fals Build on trunk (r22223 of wireshark/epan/dissectors/packet-pe r.c)

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
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.

  • Follow-Ups:
    • [Wireshark-bugs] [Bug 1675] bad cast fals Build on trunk (r22223 of wireshark/epan/dissectors/packet-pe r.c)
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1675] bad cast fals Build on trunk (r22223 of wireshark/epan/dissectors/packet-pe r.c)
      • From: bugzilla-daemon
  • Prev by Date: [Wireshark-bugs] [Bug 1550] TCP dissector incorrectly assumes SYN's ACK field is zeros
  • Next by Date: [Wireshark-bugs] [Bug 1502] how to disable passwords in wireshark & provide localized keys?
  • Previous by thread: [Wireshark-bugs] [Bug 1550] TCP dissector incorrectly assumes SYN's ACK field is zeros
  • Next by thread: [Wireshark-bugs] [Bug 1675] bad cast fals Build on trunk (r22223 of wireshark/epan/dissectors/packet-pe r.c)
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation