From: compudj Date: Tue, 23 Nov 2004 12:05:50 +0000 (+0000) Subject: LttvExecutionStack macro fixx X-Git-Tag: v0.12.20~2648 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ee9b5c573329a296f8c6b8abf0f08eb38c3f4b56;p=lttv.git LttvExecutionStack macro fixx git-svn-id: http://ltt.polymtl.ca/svn@841 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/contextmacros.h b/ltt/branches/poly/lttv/lttv/contextmacros.h index c099ec4d..35f1ca29 100644 --- a/ltt/branches/poly/lttv/lttv/contextmacros.h +++ b/ltt/branches/poly/lttv/lttv/contextmacros.h @@ -346,7 +346,7 @@ * returns : (LttvExecutionState*) */ #define LTTV_PROCESS_STATE_GET_NESTED_EXECUTION_STATE(pse, num_nest)\ - ((LttvExecutionState*)pse->execution_stack[num_nest]) + (&g_array_index(pse->execution_stack,LttvExecutionState,num_nest)) /* LTTV_PROCESS_STATE_GET_NUM_NESTED_EXECUTION_STATES