Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] [PATCH] Cleanups for Compile Warnings Under 64bit Linux

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