[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_FUNC_MMAP on 64-bit Sun with Sun's C++ compiler
From: |
Paul Eggert |
Subject: |
Re: AC_FUNC_MMAP on 64-bit Sun with Sun's C++ compiler |
Date: |
06 Jul 2003 23:27:26 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
> From: Bill Clarke <address@hidden>
> Date: Fri, 04 Jul 2003 14:39:49 +1000
> The fix is to cast to long instead
The proper fix is to cast to 'intptr_t', not 'long', but that is more
autoconf machinery as 'intptr_t' is not universal even with C99.
Casting to 'long' is an improvement so I installed your patch for now.
Thanks.
(Perhaps 'uintptr_t' would even be better, as & is defined on all
uintptr_t values.)