Revision: 1196
Author: [email protected]
Date: Thu Apr 22 07:34:10 2010
Log: Add a pointer cast to restore building with a C++ compiler.
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1196

Modified:
 /trunk/NYTProf.xs

=======================================
--- /trunk/NYTProf.xs   Thu Apr 22 03:23:05 2010
+++ /trunk/NYTProf.xs   Thu Apr 22 07:34:10 2010
@@ -4861,7 +4861,7 @@
     }
     if (cb && SvROK(cb)) {
         load_profile_to_callback(aTHX_ in, SvRV(cb));
-        RETVAL = &PL_sv_undef;
+        RETVAL = (HV*) &PL_sv_undef;
     }
     else {
         RETVAL = load_profile_to_hv(aTHX_ in);

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