Wireshark-bugs: [Wireshark-bugs] [Bug 2936] New: Integer to pointer conversion compilation warni

Date: Fri, 3 Oct 2008 08:57:22 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2936

           Summary: Integer to pointer conversion compilation warnings in
                    packet-p_mul.c
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: mattias.nissler@xxxxxx


Created an attachment (id=2307)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2307)
Patch to fix the problem by using the GUINT_TO_POINTER macro

Build Information:
wireshark 1.1.2 (SVN Rev 26345)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.9, with GLib 2.16.6, with libpcap 0.9.8, with libz
1.2.3.3, without POSIX capabilities, with libpcre 7.4, without SMI, without
c-ares, without ADNS, without Lua, with GnuTLS 2.0.4, with Gcrypt 1.2.4, with
MIT Kerberos, without PortAudio, without AirPcap.

Running on Linux 2.6.27-rc6-wl-mattias_rt2x00-testing, with libpcap version
0.9.8.

Built using gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu1).

--
Some (gpointer) casts in packet-p_mul.c fail (possibly only in 64 bit
environments) and cause compiler warnings which in turn stop compilation due to
-Werror being used.


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