small schedchange fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 21 Aug 2005 16:22:26 +0000 (16:22 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 21 Aug 2005 16:22:26 +0000 (16:22 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1043 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/state.c

index f2af9a37fa7fc76147d926ca745c643336103091..7fab470a5f5116437c2d44f56cf994ecdb3e7243 100644 (file)
@@ -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)) {
 
This page took 0.044366 seconds and 4 git commands to generate.