From 73394fd32461803425dbfe9832c6a509264e200f Mon Sep 17 00:00:00 2001 From: compudj Date: Sun, 21 Aug 2005 16:22:26 +0000 Subject: [PATCH] small schedchange fix git-svn-id: http://ltt.polymtl.ca/svn@1043 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/state.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index f2af9a37..7fab470a 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -1051,11 +1051,12 @@ static gboolean schedchange(void *hook_data, void *call_data) LttvTracefileState *s = (LttvTracefileState *)call_data; LttEvent *e = ltt_tracefile_get_event(s->parent.tf); LttvTraceHookByFacility *thf = (LttvTraceHookByFacility *)hook_data; - guint pid_in, pid_out, state_out; + guint pid_in, pid_out; + gint state_out; pid_out = ltt_event_get_unsigned(e, thf->f1); pid_in = ltt_event_get_unsigned(e, thf->f2); - state_out = ltt_event_get_unsigned(e, thf->f3); + state_out = ltt_event_get_int(e, thf->f3); if(likely(s->process != NULL)) { -- 2.34.1