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: Re: [Wireshark-dev] Ubuntu buildbot error

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


From: Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx>
Date: Mon, 1 Jun 2009 22:52:32 +0200

On Mon, Jun 01, 2009 at 10:46:40PM +0200, Jakub Zawadzki wrote:
> On Mon, Jun 01, 2009 at 09:05:29PM +0200, Stig Bj?rlykke wrote:
> > Hi.
> > 
> > I don't get the same warnings on my Ubuntu 8.04 or 9.04 as the  
> > buildbot get.
> > Anyone able to find a fix for this?
> 
> Sample code:
> 
> #include <stdio.h>
> 
> int main() {
>         int *ptr = NULL;
> 
>         int bad = (int) ptr;	/* this generates warning for 64bit systems
> 				   cast from pointer to integer
> 				   of different size */
>         int good = (int) (long) ptr; /* this doesn't */
> 
>         return 0;
> }

Me again, I just realized wireshark is using glib and it should use
glib-portable GPOINTER_TO_INT() :)

  • Follow-Ups:
    • Re: [Wireshark-dev] Ubuntu buildbot error
      • From: Ravi Kondamuru
  • References:
    • [Wireshark-dev] Ubuntu buildbot error
      • From: Stig Bjørlykke
    • Re: [Wireshark-dev] Ubuntu buildbot error
      • From: Jakub Zawadzki
  • Prev by Date: [Wireshark-dev] How do I know the wireshark version ?
  • Next by Date: Re: [Wireshark-dev] How do I know the wireshark version ?
  • Previous by thread: Re: [Wireshark-dev] Ubuntu buildbot error
  • Next by thread: Re: [Wireshark-dev] Ubuntu buildbot error
  • Index(es):
    • Date
    • Thread

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