was cast to an unsigned (32-bit) integer with wild abandon.
p4raw-id: //depot/cfgperl@6326
static void
check_depth(pTHX_ void *foo)
{
- U32 need_depth = (U32)foo;
+ U32 need_depth = PTR2UV(foo);
if (need_depth != g_depth) {
if (need_depth > g_depth) {
warn("garbled call depth when profiling");