Closed GoogleCodeExporter closed 9 years ago
the offender is:
void* p = ....;
return (int) p;
reinterpret_cast<> also fails, so I suggest this fix:
return (int) (long) p;
Original comment by mrab...@gmail.com
on 14 Dec 2008 at 11:07
To be a bit more standards compliant, it might be better to change the
signature from int to intptr_t. See the
attached patch. This now compiles on my x86-64 system.
Original comment by ev...@csail.mit.edu
on 15 Dec 2008 at 12:09
Attachments:
that's certainly better ;)
Original comment by mrab...@gmail.com
on 15 Dec 2008 at 12:16
Crikey! Sorry for the problem. If I finally got my act in gear to build
64-bit .deb
files, I would catch things like this... :-/
I've fixed the bug and released perftools 1.0rc2. Sorry for the trouble.
Original comment by csilv...@gmail.com
on 15 Dec 2008 at 1:21
Original issue reported on code.google.com by
mrab...@gmail.com
on 14 Dec 2008 at 11:03