On Sun, 05 Jul 2009, Tim Bunce wrote:
> > 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?

Thanks!  That's a better idea than having separate branches based on
WIN32 because I'm not sure if Cygwin Perl isn't defining WIN32 even
though it won't use the MSVCRT.dll runtime, so won't use the same
sprint formatting code %Ix for size_t sized values.

I've already changed the code in svn.

Cheers,
-Jan


--~--~---------~--~----~------------~-------~--~----~
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]
-~----------~----~----~----~------~----~------~--~---

Reply via email to