diff options
Diffstat (limited to 'ext/Devel/DProf/DProf.xs')
-rw-r--r-- | ext/Devel/DProf/DProf.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Devel/DProf/DProf.xs b/ext/Devel/DProf/DProf.xs index 31e984f929..7167a0028f 100644 --- a/ext/Devel/DProf/DProf.xs +++ b/ext/Devel/DProf/DProf.xs @@ -502,7 +502,7 @@ prof_record(pTHX) 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"); |