On Fri, Jul 03, 2009 at 05:30:35PM -0700, Jan Dubois wrote: > > sv_setpvf(subname_sv, "%s::__UNKNOWN__[0x%lx]", > (stash_name)?stash_name:"__UNKNOWN__", (unsigned > long)cv); > > NYTProf.xs(2349) : warning C4311: 'type cast' : pointer truncation from 'CV > *' to 'unsigned long' > > On 64-bit Windows you are throwing away the top 32 bits of the CV > pointer. I don't think there is a cross-platform solution for formatting > a size_t sized integer with printf format codes.
Would removing the cast and using %p work? Tim. --~--~---------~--~----~------------~-------~--~----~ You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected] -~----------~----~----~----~------~----~------~--~---
