Author :
Nick Mathewson
Date :
2010-01-26 12:08:34
Hash :137f2c60 Message :Try to fix a warning in hash_debug_entry
Apparently some 64-bit platforms don't like it when you say
unsigned hash(void *p)
{
return (unsigned)p;
}
even if you really honestly don't want the high bits of p. Perhaps
they will tolerate it if I say the equivalent of
unsigned hash(void *p)
{
return (unsigned) (uintptr_t) p;
}