Revision: 1159
Author: dubiously
Date: Wed Mar 10 14:35:43 2010
Log: Fix type inconsistencies
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1159
Modified:
/trunk/FileHandle.xs
/trunk/NYTProf.xs
=======================================
--- /trunk/FileHandle.xs Mon Mar 8 03:57:47 2010
+++ /trunk/FileHandle.xs Wed Mar 10 14:35:43 2010
@@ -898,7 +898,7 @@
}
static size_t
-write_time_common(NYTP_file ofile, int tag, unsigned int elapsed,
+write_time_common(NYTP_file ofile, unsigned char tag, unsigned int elapsed,
unsigned int fid, unsigned int line)
{
size_t total;
=======================================
--- /trunk/NYTProf.xs Mon Mar 8 03:57:42 2010
+++ /trunk/NYTProf.xs Wed Mar 10 14:35:43 2010
@@ -172,7 +172,7 @@
#define MAX_HASH_SIZE 512
-static int next_fid = 1; /* 0 is reserved */
+static unsigned int next_fid = 1; /* 0 is reserved */
/* we're not thread-safe (or even multiplicity safe) yet, so detect and
bail */
#ifdef MULTIPLICITY
@@ -4084,7 +4084,7 @@
};
static void
-load_perl_callback(Loader_state_base *cb_data, nytp_tax_index tag, ...)
+load_perl_callback(Loader_state_base *cb_data, const nytp_tax_index
tag, ...)
{
Loader_state_callback *state = (Loader_state_callback *)cb_data;
dTHXa(state->interp);
--
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]