<URL: http://bugs.freeciv.org/Ticket/Display.html?id=21625 >
----- Original Message Follows -----
From: "Per I. Mathisen" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Freeciv-Dev] (PR#21625) PATCH - improved hash
Date: Wed, 4 Oct 2006 12:01:18 -0700
> Are those pointer conversion macros 64bit safe? For all
> types of common 64bit systems?
No idea. As I don't have a 64bit system to test, never
programmed on one, and
only made the conversion macros by monkeying glib :).
Actually a better way to construct the macros would be to
have sizeof check for
pointers in configure.ac and then use AC_DEFINE (or
whatever) to substitute in
the correct cast expression (this is the way glib actually
does it, I got lazy).
Freeciv-dev mailing list