From: compudj Date: Mon, 22 Aug 2005 18:59:13 +0000 (+0000) Subject: fix type casting X-Git-Tag: v0.12.20~2441 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ae80b6099838ee331fe1f90495d9353924b70441;p=lttv.git fix type casting git-svn-id: http://ltt.polymtl.ca/svn@1048 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 67a6686c..4e34eb42 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -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); diff --git a/ltt/branches/poly/lttv/lttv/stats.c b/ltt/branches/poly/lttv/lttv/stats.c index 066b27f2..e604fea3 100644 --- a/ltt/branches/poly/lttv/lttv/stats.c +++ b/ltt/branches/poly/lttv/lttv/stats.c @@ -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);