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-dev: [Wireshark-dev] [PATCH] Cleanups for Compile Warnings Under 64bit Linux

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


From: Mike Duigou <wireshark@xxxxxxxxxx>
Date: Sat, 05 May 2007 13:47:11 -0700

Enclosed is a patch which allows Wireshark to compile under 64 bit Linux with treat-warnings-as-errors enabled.

The changes are all in two categories :

- fix casts between int and pointer (using GINT_TO_POINTER/GPOINTER_TO_INT)

- fix %llx %llu and %lld printf formats (using PRIx64/PRIu64/PRId64).

Hopefully this will allow the amd64 built-bot to be switched to treat-warnings-as-errors.

Enjoy!

Attachment: linux_64.21693.patch.zip
Description: Zip archive

  • Follow-Ups:
    • Re: [Wireshark-dev] [PATCH] Cleanups for Compile Warnings Under 64bit Linux
      • From: Joerg Mayer
    • Re: [Wireshark-dev] [PATCH] Cleanups for Compile Warnings Under 64bit Linux
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] sniffing a device with wireshark on linux
  • Next by Date: [Wireshark-dev] [PATCH] Add config.nice support
  • Previous by thread: Re: [Wireshark-dev] OpcUa update
  • Next by thread: Re: [Wireshark-dev] [PATCH] Cleanups for Compile Warnings Under 64bit Linux
  • Index(es):
    • Date
    • Thread

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