http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

--- Comment #7 from iant at google dot com <iant at google dot com> 2012-07-19 
20:52:27 UTC ---
On Thu, Jul 19, 2012 at 1:32 PM, Rainer Emrich
<rai...@emrich-ebersheim.de> wrote:

> ../../../src/gcc-4.8.0/gcc/pointer-set.c: In function 'size_t hash1(const 
> void*,
> long unsigned int, long unsigned int)':
> ../../../src/gcc-4.8.0/gcc/pointer-set.c:67:32: error: cast from 'const void*'
> to 'long unsigned int' loses precision [-fpermissive]
>    return ((A * (unsigned long) p) >> shift) & (max - 1);

Same fix.  s/unsigned long/uintptr_t/ .

Ian

Reply via email to