fix type casting
[lttv.git] / ltt / branches / poly / lttv / lttv / stats.c
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.023837 seconds and 4 git commands to generate.