fix type casting
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 22 Aug 2005 18:59:13 +0000 (18:59 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 22 Aug 2005 18:59:13 +0000 (18:59 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1048 04897980-b3bd-0310-b5e0-8ef037075253

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

index 67a6686c97064402d62717d7f4edad98f5d7da14..4e34eb424f3c09f4a006847a1d8a297351ddc6a8 100644 (file)
@@ -1330,7 +1330,7 @@ void lttv_state_remove_event_hooks(LttvTracesetState *self)
 
   nb_trace = lttv_traceset_number(traceset);
   for(i = 0 ; i < nb_trace ; i++) {
-    ts = LTTV_TRACE_STATE(self->parent.traces[i]);
+    ts = (LttvTraceState*)self->parent.traces[i];
     lttv_attribute_find(self->parent.a, LTTV_STATE_HOOKS, LTTV_POINTER, &val);
     hooks = *(val.v_pointer);
 
index 066b27f2c185a861ab134a02e7452a0ee936af19..e604fea307d5608bd643dc96ca6cbdcad0edac2b 100644 (file)
@@ -961,7 +961,7 @@ void lttv_stats_remove_event_hooks(LttvTracesetStats *self)
 
   nb_trace = lttv_traceset_number(traceset);
   for(i = 0 ; i < nb_trace ; i++) {
-    ts = LTTV_TRACE_STATS(self->parent.parent.traces[i]);
+    ts = (LttvTraceStats*)self->parent.parent.traces[i];
     lttv_attribute_find(self->parent.parent.a, LTTV_STATS_BEFORE_HOOKS, 
         LTTV_POINTER, &val);
     before_hooks = *(val.v_pointer);
This page took 0.02784 seconds and 4 git commands to generate.