fix type casting
[lttv.git] / ltt / branches / poly / lttv / lttv / state.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);
 
This page took 0.026975 seconds and 4 git commands to generate.