Revision: 1059
Author: [email protected]
Date: Wed Feb 17 08:35:51 2010
Log: Add cast to remove g++ warning about mixing enums and non-enums in a
conditional.
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1059
Modified:
/trunk/NYTProf.xs
=======================================
--- /trunk/NYTProf.xs Wed Feb 17 08:35:45 2010
+++ /trunk/NYTProf.xs Wed Feb 17 08:35:51 2010
@@ -2351,7 +2351,7 @@
COP *prev_cop = PL_curcop; /* not PL_curcop_nytprof
here */
OP *next_op = PL_op->op_next; /* op to execute after
sub returns */
/* pp_entersub can be called with PL_op->op_type==0 */
- OPCODE op_type = (is_slowop || PL_op->op_type == OP_GOTO) ?
PL_op->op_type : OP_ENTERSUB;
+ OPCODE op_type = (is_slowop || (opcode) PL_op->op_type == OP_GOTO) ?
(opcode) PL_op->op_type : OP_ENTERSUB;
CV *called_cv;
dSP;
--
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]