Ethereal-dev: Re: [Ethereal-dev] Crash Opening Preferences under Fedora Core 4 AMD64

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Fri, 03 Mar 2006 14:50:39 -0600
Erwin Rol wrote:
> Changing the (int) to (long) fixed the problem on my AMD64 system, but
> (long) might also not always be the same size as a (char*). The stdint.h
> man page mentions a intptr_t and uintptr_t, but i don't know if those
> are available on all Ethereal-target platforms.

As of r17457 we use intptr_t instead of int.

> BTW I see more GCC warnings about wrong signs and int<->pointer wrong
> size conversions, these might all case serious problems on 64bit systems
> (most are inside dissectors, so they are unlikely to be found by trail
> and error). 

Looks like we need an AMD64 build server.